Quantcast
Jump to content

  • Join Today, It's Simple and FREE!

    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

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

    • Question: WebOS 4 + HBBTV MHEG 2019 FAIL

      Hi All Has anyone with a 2019 model Webos 4.5 or above got any of the Freeview IPTV channels working eg. 211,  261,  265 etc. I am trying to workout if this really is a problem affecting every TV made by LG in 2019 or just a few of us. If it is every LG tv then why are there so few people highlighting and reporting this, If it is just a few of us the maybe is is a set or batch problem. I just struggle to understand why LG would remove functionality from a tv that has more pro

      in LG webOS Smart TV Questions

    • Question: WebOS update and 49SM8600

      Hi All, Has anyone had a recent update of the OS on their TV to 4.7.050204 (goldilocks2-gulaga) ? The reason I ask is that the IPTV channels on my TV seem to have borked these channels as I now get "Invalid Service" floating across the screen. I'm pretty sure these channels worked before the update. I'm referring to channels such as Now 90's, Planect Knowledge, The Sports Channel Network etc. So these are NOT APPS but TV Channels showing up on the guide and still show the prog

      in LG webOS Smart TV Questions

    • Question: LG C8 WebOS 4.5

      Hello,  I have an LG C8, my first LG TV, and I'm sad to find out that after 1 year I haven't had a OS upgrade.  You know when or if this will happen in the near future, for example update to version 4.5? Thanks

      in LG webOS Smart TV Questions

    • Disney Plus on LG webOS TVs

      I was reading a few articles on the launch of Disney Plus but they did not list any of the tvs such as LG webos or samsung tv. I hope disney plus comes out in lg tvs.  Its supposed to launch November 12th in the US for $6.99 a month or $69.99 a year. They also said there will be a $12.99-per-month trio bundle of Disney+, Hulu, and ESPN+ that is coming. I'm already doing espn for $4.99, I may do the entire bundle to get hulu also, not sure, At the minimum, I am definitely going to get Disney plus

      in LG webOS Wish List

    • Question: How can i operate a camera (NTSC) on LG webos TV

      I bought a camera from US working as NTSC standard ... how can i change LG settings to make it running .. and i guess my LG TV is operating as PAL here in Egypt .. please help me

      in LG webOS Smart TV Questions



×
×
  • Create New...