PerBothner / DomTerm

DOM/JavaScript-based terminal-emulator/console

Home Page:https://domterm.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

New terminal tab gives "Connection to backend lost Too may failures (error code 1006)..." attempting WebSockets connection to backend server."

mcarans opened this issue · comments

commented

When I choose the File->New terminal tab menu (or New Window), I get "Connection to backend lost Too may failures (error code 1006) attempting WebSockets connection to backend server." This also stops the first tab from working properly.

domterm status:

DomTerm version 2.9.0 (git describe: 2.1-367-g0e0c2a2)
Copyright 2021 Per Bothner and others
Using Libwebsockets 3.2.0
Reading settings from: /home/mcarans/.config/domterm/settings.ini
Backend pid:2376 command-socket:/run/user/1000/domterm/default.socket
Window 1:  qtwebengine: 5.12.8, chrome: 69.0.3497.128
  session#1: pid: 2421, tty: /dev/pts/0

Hm. I'm not seeing that. I just tested it. Could be due to the relatively old version of libwebsockets. I get:

Using Libwebsockets 4.1.99-v4.1.0-112-g773b5490

Would you mind trying to clone and build libwebsockets, as in the instructions?

commented

I tried but got some build errors which I've put in this issue: #92

commented

Fixed with newer libwebsockets