# Homey app run (command line interface) - websocket error

**URL:** <https://community.homey.app/t/homey-app-run-command-line-interface-websocket-error/88391>\
**Category:** Developers\
**Tags:** programming, homey-pro\
**Created:** [August 30, 2023, 1:50pm UTC](https://community.homey.app/t/homey-app-run-command-line-interface-websocket-error/88391 "2023-08-30T13:50:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MarcelT](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/marcelt/32/10042_2.png) [@MarcelT](https://community.homey.app/u/MarcelT)\
**Post date:** [August 30, 2023, 1:50pm UTC](https://community.homey.app/t/homey-app-run-command-line-interface-websocket-error/88391/1 "2023-08-30T13:50:19Z")

</div>

Hi,

I got really frustrated from the fact that the latest software on my Homey Pro (first version) often has bad connections with the new app. But now for some reason I can also not update my app anymore because the command line version is not working:

```auto
homey app run
× Error: websocket error
    at Transport.onError (C:\Users\info\AppData\Roaming\npm\node_modules\homey\node_modules\engine.io-client\lib\transport.js:68:13)
    at ws.onerror (C:\Users\info\AppData\Roaming\npm\node_modules\homey\node_modules\engine.io-client\lib\transports\websocket.js:163:10)
    at WebSocket.onError (C:\Users\info\AppData\Roaming\npm\node_modules\homey\node_modules\engine.io-client\node_modules\ws\lib\event-target.js:140:16)
    at WebSocket.emit (node:events:514:28)
    at abortHandshake (C:\Users\info\AppData\Roaming\npm\node_modules\homey\node_modules\engine.io-client\node_modules\ws\lib\websocket.js:731:15)
    at ClientRequest.<anonymous> (C:\Users\info\AppData\Roaming\npm\node_modules\homey\node_modules\engine.io-client\node_modules\ws\lib\websocket.js:604:7)
    at ClientRequest.emit (node:events:514:28)
    at HTTPParser.parserOnIncomingClient (node:_http_client:693:27)
    at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17)
    at Socket.socketOnData (node:_http_client:535:22)

```

Ping to device goes okay. Also DNS test works fine. Removed everything and reinstalled the CLI.

```auto
npm install --global --no-optional homey

```

same result.
