go-webssh icon indicating copy to clipboard operation
go-webssh copied to clipboard

用cat命令cat多个内容包中文文件时报 Invalid UTF-8 in text frame

Open web80qs opened this issue 3 years ago • 0 comments

cat多个内容包中文文件时报 Invalid UTF-8 in text frame 错

_, wsData, err := wsConn.ReadMessage()
// log.Println(wsData)
// log.Println(string(wsData))
if err != nil {
    log.Println("reading webSocket message failed!:")
    log.Println(err.Error())
    // logrus.WithError(err).Error("reading webSocket message failed")
    // time.Sleep(time.Second * 10)
    return
}

websocket: close 1002 (protocol error): Invalid UTF-8 in text frame

web80qs avatar Apr 21 '21 09:04 web80qs