Quantcast
Jump to content



  • Own an LG TV or webOS device? Join our Forum!

    Register now to gain access to our webOS user support forum. Once registered and logged in, you will be able to post a user to user support request topic to this site or reply to existing topics posted by other users. You can also take part in our other webOS user forums. You'll be able to customize your profile, receive reputation points, while also communicating with other members via your own private inbox, plus much more!

Nguyễn Trần Thanh Lâm

[Error] Ares-install: please check the device IP address or port

Recommended Posts



Hello there,

T:\space\space\webOS>ares-setup-device --listfull
[
    {
        "name": "webOS_Emulator",
        "deviceinfo": {
            "ip": "192.168.1.91",
            "port": "22",
            "user": "developer"
        },
        "connection": "ssh",
        "details": {
            "privatekey": "webos_emul",
            "platform": "starfish",
            "files": "sftp",
            "description": ""
        }
    }
]

Your Port should be 22 not 6622 you need to edit this and then you can connect and deploy.

Share this post


Link to post
Share on other sites

i couldn't make it work with the port 22.

ares-install ERR! ares-install: Error: Please check the device IP address or port.

name      deviceinfo              connection  profile
--------  ----------------------  ----------  -------
emulator  [email protected]:23  ssh         tv

 

can you help me?

Share this post


Link to post
Share on other sites

Hi, 

I am actually stuck at next part. ares-install fails after ssh connection with a time out error.  I have attached the details of the emulators., 
 

installer#waterfall callback err: Error: Timed out while waiting for handshake
    ares-install verb installer#waterfall callback err:     at Timeout._onTimeout (/opt/webOS_TV_SDK/CLI/lib/node_modules/ares-webos-sdk/node_modules/ssh2/lib/client.js:695:19)
    ares-install verb installer#waterfall callback err:     at ontimeout (timers.js:386:11)
    ares-install verb installer#waterfall callback err:     at tryOnTimeout (timers.js:250:5)
    ares-install verb installer#waterfall callback err:     at Timer.listOnTimeout (timers.js:214:5)
    ares-install verb installer#waterfall callback err:  { Error: Timed out while waiting for handshake
    ares-install verb installer#waterfall callback err:     at Timeout._onTimeout (/opt/webOS_TV_SDK/CLI/lib/node_modules/ares-webos-sdk/node_modules/ssh2/lib/client.js:695:19)
    ares-install verb installer#waterfall callback err:     at ontimeout (timers.js:386:11)
    ares-install verb installer#waterfall callback err:     at tryOnTimeout (timers.js:250:5)
    ares-install verb installer#waterfall callback err:     at Timer.listOnTimeout (timers.js:214:5) level: 'client-timeout' }
    ares-install info finish(): Error: Timed out while waiting for handshake
    ares-install info finish():     at Timeout._onTimeout (/opt/webOS_TV_SDK/CLI/lib/node_modules/ares-webos-sdk/node_modules/ssh2/lib/client.js:695:19)
    ares-install info finish():     at ontimeout (timers.js:386:11)
    ares-install info finish():     at tryOnTimeout (timers.js:250:5)
    ares-install info finish():     at Timer.listOnTimeout (timers.js:214:5)
    ares-install info finish():  err: { Error: Timed out while waiting for handshake
    ares-install info finish():     at Timeout._onTimeout (/opt/webOS_TV_SDK/CLI/lib/node_modules/ares-webos-sdk/node_modules/ssh2/lib/client.js:695:19)
    ares-install info finish():     at ontimeout (timers.js:386:11)
    ares-install info finish():     at tryOnTimeout (timers.js:250:5)
    ares-install info finish():     at Timer.listOnTimeout (timers.js:214:5) level: 'client-timeout' }
    ares-install ERR! ares-install: Error: Timed out while waiting for handshake 
    ares-install verb Error: Timed out while waiting for handshake

Regards,

Prateek

Screen Shot 2018-09-27 at 21.23.42.png

Screen Shot 2018-09-27 at 22.26.07.png

Share this post


Link to post
Share on other sites


Am stuck with same thing .

Changed port to 22 as suggested above . But still no help . 
i am using windows changed with  command  ares-setup-device
as suggested in page : 

link hidden, please login to view
 

 

Below are the commands i have used to run my first app :
 

SET PATH=%PATH%;C:\fDrive\Softwares\LGWebOS_SDK\ares-webos-cli\ares-cli\bin
ares-generate -t basic -p "{'id':'com.domain.app', 'version':'1.0.0', 'title':'First App'}" samples/projects/app
ares-package .

On install i get below errors : ares-install  com.domain.app_1.0.0_all.ipk -d emulator -v  

 

ares-install verb argv { device: 'emulator',
ares-install verb argv   level: 'verbose',
ares-install verb argv   argv:
ares-install verb argv    { remain: [ 'com.domain.app_1.0.0_all.ipk' ],
ares-install verb argv      cooked:
ares-install verb argv       [ 'com.domain.app_1.0.0_all.ipk',
ares-install verb argv         '--device',
ares-install verb argv         'emulator',
ares-install verb argv         '--level',
ares-install verb argv         'verbose' ],
ares-install verb argv      original: [ 'com.domain.app_1.0.0_all.ipk', '-d', 'emulator', '-v' ] } }
ares-install info install(): pkgPath: com.domain.app_1.0.0_all.ipk
ares-install info installer#install(): installing com.domain.app_1.0.0_all.ipk
ares-install info novacom.Session() opening session to 'emulator'
ares-install verb Resolver#load()
ares-install verb Resolver#load#_replaceBuiltinSshKey()
ares-install verb Resolver#load#_loadString() devices: [ { order: '0',
ares-install verb Resolver#load#_loadString()     profile: 'ose',
ares-install verb Resolver#load#_loadString()     name: 'emulator',
ares-install verb Resolver#load#_loadString()     type: 'starfish',
ares-install verb Resolver#load#_loadString()     description: 'LG webOS OSE Emulator',
ares-install verb Resolver#load#_loadString()     host: '127.0.0.1',
ares-install verb Resolver#load#_loadString()     port: 22,
ares-install verb Resolver#load#_loadString()     username: 'developer',
ares-install verb Resolver#load#_loadString()     privateKey: <Buffer 2d 2d 2d 2d 2d 42 45 47 49 4e 20 52 53 41 20 50 52 49 56 41 54 45 20 4b 45 59 2d 2d 2d 2d 2d 0a 4d 49 49 45 70 41 49 42 41 41 4b 43 41 51 45 41 30 4b ... >,
ares-install verb Resolver#load#_loadString()     files: 'stream',
ares-install verb Resolver#load#_loadString()     noPortForwarding: false,
ares-install verb Resolver#load#_loadString()     indelible: true,
ares-install verb Resolver#load#_loadString()     privateKeyName: 'webos_emul',
ares-install verb Resolver#load#_loadString()     display:
ares-install verb Resolver#load#_loadString()      { name: 'emulator',
ares-install verb Resolver#load#_loadString()        type: 'starfish',
ares-install verb Resolver#load#_loadString()        privateKeyName: 'webos_emul',
ares-install verb Resolver#load#_loadString()        passphase: undefined,
ares-install verb Resolver#load#_loadString()        description: 'LG webOS OSE Emulator',
ares-install verb Resolver#load#_loadString()        conn: [Object],
ares-install verb Resolver#load#_loadString()        devId: null,
ares-install verb Resolver#load#_loadString()        addr: 'ssh://[email protected]:22',
ares-install verb Resolver#load#_loadString()        order: '0',
ares-install verb Resolver#load#_loadString()        profile: 'ose',
ares-install verb Resolver#load#_loadString()        host: '127.0.0.1',
ares-install verb Resolver#load#_loadString()        port: 22,
ares-install verb Resolver#load#_loadString()        username: 'developer',
ares-install verb Resolver#load#_loadString()        privateKey: <Buffer 2d 2d 2d 2d 2d 42 45 47 49 4e 20 52 53 41 20 50 52 49 56 41 54 45 20 4b 45 59 2d 2d 2d 2d 2d 0a 4d 49 49 45 70 41 49 42 41 41 4b 43 41 51 45 41 30 4b ... >,
ares-install verb Resolver#load#_loadString()        files: 'stream',
ares-install verb Resolver#load#_loadString()        noPortForwarding: false,
ares-install verb Resolver#load#_loadString()        indelible: true },
ares-install verb Resolver#load#_loadString()     lunaSend: '/usr/bin/luna-send-pub',
ares-install verb Resolver#load#_loadString()     lunaAddr:
ares-install verb Resolver#load#_loadString()      { install: [Object],
ares-install verb Resolver#load#_loadString()        remove: [Object],
ares-install verb Resolver#load#_loadString()        list: [Object],
ares-install verb Resolver#load#_loadString()        launch: [Object],
ares-install verb Resolver#load#_loadString()        terminate: [Object],
ares-install verb Resolver#load#_loadString()        running: [Object],
ares-install verb Resolver#load#_loadString()        getStorageList: [Object],
ares-install verb Resolver#load#_loadString()        deviceInfo: [Object] } } ]
ares-install info Resolver#load() devices: [ { order: '0',
ares-install info Resolver#load()     profile: 'ose',
ares-install info Resolver#load()     name: 'emulator',
ares-install info Resolver#load()     type: 'starfish',
ares-install info Resolver#load()     description: 'LG webOS OSE Emulator',
ares-install info Resolver#load()     host: '127.0.0.1',
ares-install info Resolver#load()     port: 22,
ares-install info Resolver#load()     username: 'developer',
ares-install info Resolver#load()     privateKey: <Buffer 2d 2d 2d 2d 2d 42 45 47 49 4e 20 52 53 41 20 50 52 49 56 41 54 45 20 4b 45 59 2d 2d 2d 2d 2d 0a 4d 49 49 45 70 41 49 42 41 41 4b 43 41 51 45 41 30 4b ... >,
ares-install info Resolver#load()     files: 'stream',
ares-install info Resolver#load()     noPortForwarding: false,
ares-install info Resolver#load()     indelible: true,
ares-install info Resolver#load()     privateKeyName: 'webos_emul',
ares-install info Resolver#load()     display:
ares-install info Resolver#load()      { name: 'emulator',
ares-install info Resolver#load()        type: 'starfish',
ares-install info Resolver#load()        privateKeyName: 'webos_emul',
ares-install info Resolver#load()        passphase: undefined,
ares-install info Resolver#load()        description: 'LG webOS OSE Emulator',
ares-install info Resolver#load()        conn: [Object],
ares-install info Resolver#load()        devId: null,
ares-install info Resolver#load()        addr: 'ssh://[email protected]:22',
ares-install info Resolver#load()        order: '0',
ares-install info Resolver#load()        profile: 'ose',
ares-install info Resolver#load()        host: '127.0.0.1',
ares-install info Resolver#load()        port: 22,
ares-install info Resolver#load()        username: 'developer',
ares-install info Resolver#load()        privateKey: <Buffer 2d 2d 2d 2d 2d 42 45 47 49 4e 20 52 53 41 20 50 52 49 56 41 54 45 20 4b 45 59 2d 2d 2d 2d 2d 0a 4d 49 49 45 70 41 49 42 41 41 4b 43 41 51 45 41 30 4b ... >,
ares-install info Resolver#load()        files: 'stream',
ares-install info Resolver#load()        noPortForwarding: false,
ares-install info Resolver#load()        indelible: true },
ares-install info Resolver#load()     lunaSend: '/usr/bin/luna-send-pub',
ares-install info Resolver#load()     lunaAddr:
ares-install info Resolver#load()      { install: [Object],
ares-install info Resolver#load()        remove: [Object],
ares-install info Resolver#load()        list: [Object],
ares-install info Resolver#load()        launch: [Object],
ares-install info Resolver#load()        terminate: [Object],
ares-install info Resolver#load()        running: [Object],
ares-install info Resolver#load()        getStorageList: [Object],
ares-install info Resolver#load()        deviceInfo: [Object] } } ]
ares-install verb Resolver#getDeviceBy() key: name value: emulator
ares-install verb Resolver#getDeviceBy() devices: [ { order: '0',
ares-install verb Resolver#getDeviceBy()     profile: 'ose',
ares-install verb Resolver#getDeviceBy()     name: 'emulator',
ares-install verb Resolver#getDeviceBy()     type: 'starfish',
ares-install verb Resolver#getDeviceBy()     description: 'LG webOS OSE Emulator',
ares-install verb Resolver#getDeviceBy()     host: '127.0.0.1',
ares-install verb Resolver#getDeviceBy()     port: 22,
ares-install verb Resolver#getDeviceBy()     username: 'developer',
ares-install verb Resolver#getDeviceBy()     privateKey: <Buffer 2d 2d 2d 2d 2d 42 45 47 49 4e 20 52 53 41 20 50 52 49 56 41 54 45 20 4b 45 59 2d 2d 2d 2d 2d 0a 4d 49 49 45 70 41 49 42 41 41 4b 43 41 51 45 41 30 4b ... >,
ares-install verb Resolver#getDeviceBy()     files: 'stream',
ares-install verb Resolver#getDeviceBy()     noPortForwarding: false,
ares-install verb Resolver#getDeviceBy()     indelible: true,
ares-install verb Resolver#getDeviceBy()     privateKeyName: 'webos_emul',
ares-install verb Resolver#getDeviceBy()     display:
ares-install verb Resolver#getDeviceBy()      { name: 'emulator',
ares-install verb Resolver#getDeviceBy()        type: 'starfish',
ares-install verb Resolver#getDeviceBy()        privateKeyName: 'webos_emul',
ares-install verb Resolver#getDeviceBy()        passphase: undefined,
ares-install verb Resolver#getDeviceBy()        description: 'LG webOS OSE Emulator',
ares-install verb Resolver#getDeviceBy()        conn: [Object],
ares-install verb Resolver#getDeviceBy()        devId: null,
ares-install verb Resolver#getDeviceBy()        addr: 'ssh://[email protected]:22',
ares-install verb Resolver#getDeviceBy()        order: '0',
ares-install verb Resolver#getDeviceBy()        profile: 'ose',
ares-install verb Resolver#getDeviceBy()        host: '127.0.0.1',
ares-install verb Resolver#getDeviceBy()        port: 22,
ares-install verb Resolver#getDeviceBy()        username: 'developer',
ares-install verb Resolver#getDeviceBy()        privateKey: <Buffer 2d 2d 2d 2d 2d 42 45 47 49 4e 20 52 53 41 20 50 52 49 56 41 54 45 20 4b 45 59 2d 2d 2d 2d 2d 0a 4d 49 49 45 70 41 49 42 41 41 4b 43 41 51 45 41 30 4b ... >,
ares-install verb Resolver#getDeviceBy()        files: 'stream',
ares-install verb Resolver#getDeviceBy()        noPortForwarding: false,
ares-install verb Resolver#getDeviceBy()        indelible: true },
ares-install verb Resolver#getDeviceBy()     lunaSend: '/usr/bin/luna-send-pub',
ares-install verb Resolver#getDeviceBy()     lunaAddr:
ares-install verb Resolver#getDeviceBy()      { install: [Object],
ares-install verb Resolver#getDeviceBy()        remove: [Object],
ares-install verb Resolver#getDeviceBy()        list: [Object],
ares-install verb Resolver#getDeviceBy()        launch: [Object],
ares-install verb Resolver#getDeviceBy()        terminate: [Object],
ares-install verb Resolver#getDeviceBy()        running: [Object],
ares-install verb Resolver#getDeviceBy()        getStorageList: [Object],
ares-install verb Resolver#getDeviceBy()        deviceInfo: [Object] } } ]
ares-install verb installer#waterfall callback err: Error: Please check the device IP address or port.
ares-install verb installer#waterfall callback err:     at Object.errMsgHdlr.changeErrMsg (C:\fDrive\Softwares\LGWebOS_SDK\ares-webos-cli\ares-cli\lib\base\error-handler.js:62:29)
ares-install verb installer#waterfall callback err:     at Socket.<anonymous> (C:\fDrive\Softwares\LGWebOS_SDK\ares-webos-cli\ares-cli\lib\base\novacom.js:456:51)
ares-install verb installer#waterfall callback err:     at emitOne (events.js:96:13)
ares-install verb installer#waterfall callback err:     at Socket.emit (events.js:188:7)
ares-install verb installer#waterfall callback err:     at emitErrorNT (net.js:1281:8)
ares-install verb installer#waterfall callback err:     at _combinedTickCallback (internal/process/next_tick.js:80:11)
ares-install verb installer#waterfall callback err:     at process._tickCallback (internal/process/next_tick.js:104:9)
ares-install verb installer#waterfall callback err:  Error: Please check the device IP address or port.
ares-install verb installer#waterfall callback err:     at Object.errMsgHdlr.changeErrMsg (C:\fDrive\Softwares\LGWebOS_SDK\ares-webos-cli\ares-cli\lib\base\error-handler.js:62:29)
ares-install verb installer#waterfall callback err:     at Socket.<anonymous> (C:\fDrive\Softwares\LGWebOS_SDK\ares-webos-cli\ares-cli\lib\base\novacom.js:456:51)
ares-install verb installer#waterfall callback err:     at emitOne (events.js:96:13)
ares-install verb installer#waterfall callback err:     at Socket.emit (events.js:188:7)
ares-install verb installer#waterfall callback err:     at emitErrorNT (net.js:1281:8)
ares-install verb installer#waterfall callback err:     at _combinedTickCallback (internal/process/next_tick.js:80:11)
ares-install verb installer#waterfall callback err:     at process._tickCallback (internal/process/next_tick.js:104:9)
ares-install info finish(): Error: Please check the device IP address or port.
ares-install info finish():     at Object.errMsgHdlr.changeErrMsg (C:\fDrive\Softwares\LGWebOS_SDK\ares-webos-cli\ares-cli\lib\base\error-handler.js:62:29)
ares-install info finish():     at Socket.<anonymous> (C:\fDrive\Softwares\LGWebOS_SDK\ares-webos-cli\ares-cli\lib\base\novacom.js:456:51)
ares-install info finish():     at emitOne (events.js:96:13)
ares-install info finish():     at Socket.emit (events.js:188:7)
ares-install info finish():     at emitErrorNT (net.js:1281:8)
ares-install info finish():     at _combinedTickCallback (internal/process/next_tick.js:80:11)
ares-install info finish():     at process._tickCallback (internal/process/next_tick.js:104:9)
ares-install info finish():  err: Error: Please check the device IP address or port.
ares-install info finish():     at Object.errMsgHdlr.changeErrMsg (C:\fDrive\Softwares\LGWebOS_SDK\ares-webos-cli\ares-cli\lib\base\error-handler.js:62:29)
ares-install info finish():     at Socket.<anonymous> (C:\fDrive\Softwares\LGWebOS_SDK\ares-webos-cli\ares-cli\lib\base\novacom.js:456:51)
ares-install info finish():     at emitOne (events.js:96:13)
ares-install info finish():     at Socket.emit (events.js:188:7)
ares-install info finish():     at emitErrorNT (net.js:1281:8)
ares-install info finish():     at _combinedTickCallback (internal/process/next_tick.js:80:11)
ares-install info finish():     at process._tickCallback (internal/process/next_tick.js:104:9)
ares-install ERR! ares-install: Error: Please check the device IP address or port.
ares-install verb Error: Please check the device IP address or port.
    at Object.errMsgHdlr.changeErrMsg (C:\fDrive\Softwares\LGWebOS_SDK\ares-webos-cli\ares-cli\lib\base\error-handler.js:62:29)
    at Socket.<anonymous> (C:\fDrive\Softwares\LGWebOS_SDK\ares-webos-cli\ares-cli\lib\base\novacom.js:456:51)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at emitErrorNT (net.js:1281:8)
    at _combinedTickCallback (internal/process/next_tick.js:80:11)
    at process._tickCallback (internal/process/next_tick.js:104:9)

Is it required to run server ? 
what is the solution for this ?  

Share this post


Link to post
Share on other sites

when i try to install the app to the emulator it works fine but when i try to install the same app on the signage tv (webos) i get an error ares install failed,, can anyone here help me out, i can install the app to the tv in other way like exporting the app then installing it on the signage tv using remote option or using usb..kindly do help.. using the webos IDE it fails

error::

24/01/20 4:00:37 pm : [Package] Creating package com.lg.app.signage_1.4.0_all.ipk in /var/www/html/iEvince/client/OutputIPK/client_Signage_TV
24/01/20 4:00:37 pm : [Package] Success
24/01/20 4:00:37 pm : [Install] Installing package /var/www/html/iEvince/client/OutputIPK/client_Signage_TV/com.lg.app.signage_1.4.0_all.ipk
24/01/20 4:00:39 pm: [Install] ares-install ERR! ares-install: install failed 

Share this post


Link to post
Share on other sites
On 1/24/2020 at 10:31 AM, Sami Ullah said:

when i try to install the app to the emulator it works fine but when i try to install the same app on the signage tv (webos) i get an error ares install failed,, can anyone here help me out, i can install the app to the tv in other way like exporting the app then installing it on the signage tv using remote option or using usb..kindly do help.. using the webos IDE it fails

error::

24/01/20 4:00:37 pm : [Package] Creating package com.lg.app.signage_1.4.0_all.ipk in /var/www/html/iEvince/client/OutputIPK/client_Signage_TV
24/01/20 4:00:37 pm : [Package] Success
24/01/20 4:00:37 pm : [Install] Installing package /var/www/html/iEvince/client/OutputIPK/client_Signage_TV/com.lg.app.signage_1.4.0_all.ipk
24/01/20 4:00:39 pm: [Install] ares-install ERR! ares-install: install failed 

I have the same problem.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Similar Topics

    • By SIMON
      LGDTVUPDATER  
       
      1. Download LgDTVUpDater [ 
      link hidden, please login to view | link hidden, please login to view ] Updated 19 OCT 2015
      2. Unrar and put LgDTVUpDater folder in C:\
      3. Open C:\LgDTVUpDater\dns\AcrylicHosts.txt
      4. Change 192.168.0.11 with your link hidden, please login to view
      5. Save and exit
      6. Go back to C:\LgDTVUpDater folder
      7. Run startDNS.bat and don´t close it
      8. Run startHTTP.bat and don´t close it
      9. Go to TV Menu > Network Settings > Ethernet/WiFi > Edit > Uncheck Set Automatically > Change DNS IP to your local IP address > Connect
      10. Go to General > About This TV > Check For Updates
      11. Accept downgrade to the first firmware TV
      12. Restart TV

      13. Back to TV Menu > Network Settings > Ethernet/WiFi > Edit > Check Set Automatically
      14. Go to General > About This TV > Check For Updates and follow TV instructions OR download available Software_File dedicated for your TV, unrar and put *.epk file in LG_DTV folder at USB stick
      15. Mount USB stick to USB port at your TV then accept upgrade when message prompt on the screen
      16. Restart TV and follow TV instructions

       
      For best performances go to TV Menu > General > Reset to Initial Settings
       
       
      Voila! 
       
       
       
      NSU EMU BY SMX
       
      If your attempt to downgrade your TV with LgDTVUpDater for some reason was not successful, you can try to use tool prepared by SMX.
      Everything you need - NSU Emu by SMX and how to use it - you can found link hidden, please login to view.  
    • By Bill French
      I have an 55UH615A-UC  TV running OS 05.30.90. I have googled, and there are no options in any of the menus, or app lists for Channel Plus. There are no software updates available. Does anyone know how I can install this?
    • By Pecacheu
      It is now 2020, and the WebOS browser in LG Smart TVs (which I believe is Chromium-based) is still massively out of date and doesn't work properly with a ton of websites!
      The main problem is actually very simple. The browser doesn't support EMCAScript 2015 or ES6.
      Basically, translated from nerd speak, it doesn't work properly with modern code using new features created since 2015, so any newer websites will break unless they've been written to be compatible with ancient browsers and OSes.
      This should not be the case on a TV made in the current year. It should be running an up-to-date web browser, if not for convenience, then for SECURITY reasons as well!
    • By ciponne
      Hi all!
       
       
      I have a LG 42LB630V, with the latest firmware installed.
       
      I want to know if it is possible to change the audio language, for a mkv file that has more than an audio language and how to add external subtitles. Those embeded in mkv files are running ok.
       
      Thank you, 
      Cipria
    • By Divya Dubey
      Hi 
       
      I am.unable to get hotstar app in the LG content store on my LG webOS version 05.30.85.How can i install the hostar app?


×
×
  • Create New...