Ylianst / MeshCentral

A complete web-based remote monitoring and management web site. Once setup you can install agents and perform remote desktop session to devices on the local network or over the Internet.
https://meshcentral.com
Apache License 2.0
4.17k stars 559 forks source link

terminal not working for some clients (flashing cursor on connect) #3489

Closed kevinh-csalabs closed 8 months ago

kevinh-csalabs commented 2 years ago

On the most recent server version I'm having trouble with some clients. Connecting to the terminal says connected but nothing ever loads. Console shows:

uncaughtException1: Error:  => EventEmitter.emit(): Event dispatch for 'data' on 'http.WebSocketStream.decoded' threw an exception: Error in Query in method 'onTunnelData()'

Clearing core and reuploading core doesn't help. setting minify: false doesn't help. setting webrtc false doesn't help forcing agent update doesn't help

agent info:
{
  "openssl": "1.1.1l",
  "duktape": "v2.6.0",
  "commitDate": "2022-01-07T03:09:37.000Z",
  "commitHash": "22744773169b32a8b7c4382dba41a897b5c2d63c",
  "compileTime": "11:25:19, Jan  7 2022"
}

Any suggestions?

Ylianst commented 2 years ago

What version of the MeshCentral server are you running? and what OS is the remote system running?

kevinh-csalabs commented 2 years ago

server version is: 0.9.71. It was previously working on 0.9.5x

Device is Windows 10 Enterprise - 2009 [19044]

I've checked another device that was Windows Professional 19044 on the same network and it was ok, so not sure that it is build specific.

krayon007 commented 2 years ago

In the console tab, if you type osinfo what does it say for ConPTY?

kevinh-csalabs commented 2 years ago

Here's what I see:

osinfo Command returned an exception error: Error in Query

This command works as expected on the agents that are working.

si458 commented 8 months ago

closing as stale, please update to latest version 1.1.21 and use node 18 or above, if issue persists, please reply back