Describe the Bug
The vtx client does not appear in the browser
To Reproduce
Follow the installation guide for vtx client and websocket support
Expected Behavior
The vtx client should appear in the browser
Actual Behavior
Black screen
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
- [ X] I am using Node.js v14.x LTS or higher
- [ X]
npm install or yarn reports success
- Actual Node.js version (
node --version): 14
- Operating system (
uname -a on *nix systems): Debian 11 x86-64
enigma works fine when telnet via local host: telnet localhost 8888
Here are my config files:
websocket config within config.hjson:
webSocket: {
//
// Setting "proxied" to true allows non-secure (ws://) WebSockets
// to be considered secure when the X-Fowarded-Proto HTTP header
// is set to "https". This is helpful when ENiGMA is running behind
// another web server doing SSL/TLS termination.
//
proxied: true
// Non-secure WebSockets, or ws://
ws: {
port: 8810
enabled: true
}
// Secure WebSockets, or wss://
wss: {
port: 8811
enabled: false
//
// Certificate and Key in PEM format.
// Note that web browsers will not trust self-signed certs. Look
// into Let's Encrypt and perhaps running ENiGMA behind another
// web server such as Caddy.
//
certPem: /home/minnix/enigma-bbs/config/https_cert.pem
keyPem: /home/minnix/enigma-bbs/config/https_cert_key.pem
}
Web server is nginx installed on localhost. Folder structure is /var/www/html/assets/vtx/(everything from vtx www folder) and /var/www/html/vtx.html
vtxdata.js:
var vtxdata = {
sysName: "Lugcast Land",
wsConnect: "ws://localhost:8810",
term: "ansi-bbs",
codePage: "CP437",
fontName: "UVGA16",
fontSize: "24px",
crtCols: 80,
crtRows: 25,
crtHistory: 500,
xScale: 1,
initStr: "",
defPageAttr: 0x1010,
defCrsrAttr: 0x0207,
defCellAttr: 0x0007,
telnet: 1,
autoConnect: 0
};
I will eventually run this behind nginx proxy manager but for now just testing within my network I only get a black screen called Lugcast Land and no vtx client when going to http://machineIP/vtx.html. If I go to http://machineIP:8810 I get a message "ENiGMAA1/2 BBS WebSocket Server!" so websockets are working. Going to to browser console I see the following error:

The link for the error goes here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Not_a_function?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default Unfortunately I don't know much about js so this is greek to me but line 4715 within the vtxclient that it is referencing is this:

Anymore info needed let me know.
Describe the Bug
The vtx client does not appear in the browser
To Reproduce
Follow the installation guide for vtx client and websocket support
Expected Behavior
The vtx client should appear in the browser
Actual Behavior
Black screen
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
npm installoryarnreports successnode --version): 14uname -aon *nix systems): Debian 11 x86-64enigma works fine when telnet via local host: telnet localhost 8888
Here are my config files:
websocket config within config.hjson:
Web server is nginx installed on localhost. Folder structure is /var/www/html/assets/vtx/(everything from vtx www folder) and /var/www/html/vtx.html
vtxdata.js:
I will eventually run this behind nginx proxy manager but for now just testing within my network I only get a black screen called Lugcast Land and no vtx client when going to http://machineIP/vtx.html. If I go to http://machineIP:8810 I get a message "ENiGMAA1/2 BBS WebSocket Server!" so websockets are working. Going to to browser console I see the following error:

The link for the error goes here https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Not_a_function?utm_source=mozilla&utm_medium=firefox-console-errors&utm_campaign=default Unfortunately I don't know much about js so this is greek to me but line 4715 within the vtxclient that it is referencing is this:

Anymore info needed let me know.