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 : 
http://webostv.developer.lge.com/sdk/tools/using-webos-tv-cli/testing-web-app-cli/ 

 

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.




×
×
  • Create New...