!Javascript c:\sbbs\web\root/pages\000-home.xjs.ssjs line 16: TypeError: websocket is null, Request: /index.xjs
I'm guessing that you don't have a [WebSocketTelnet] section in your 'ctrl/services.ini' file. There should be one there and it should look like this:
[WebSocketTelnet]
Port=1123
Options=NO_HOST_LOOKUP
Command=websocket-telnet-service.js
[WebSocketTelnet]
Port=1123
Options=NO_HOST_LOOKUP
Command=websocket-telnet-service.js
nope, thats already in there and setup properly - so now I am confused.
The error you're reporting is what I would expect to see if that section was missing, or wasn't labelled exactly as [WebSocketTelnet]. I can't see any other reason why that would happen based on the current state of the scripts in my GitHub repo, but I'll take another look at it later.
[WebSocketTelnet]
Port=1123
Options=NO_HOST_LOOKUP
Command=websocket-telnet-service.js
I have also unzipped the websocket files to mods and exec as well just to cover all bases, so you can see why I am slightly perplexed.. I know it was working fine until recently
Have you customized your 000-home.xjs file at all? What happens if you temporarily replace it with the latest copy from GitHub?
I am using the latest copy from github, I have not had a chance to customize it, and yeah I was having issues with copy/paste so I typed out the error message. Services.ini was copy/pasted tho.
Okay. Do you by any chance have other services.x.ini files in your ctrl directory beyond the usual services.ini? If so, what are they called?
While I'd still like to figure out the cause of this problem, you can probably work around this issue by adding the following keys to the [web] section of modopts.ini:
websocket_telnet_port=1123
websocket_rlogin_port=1513
Sysop: | Ragnarok |
---|---|
Location: | Dock Sud, Bs As, Argentina |
Users: | 136 |
Nodes: | 10 (0 / 10) |
Uptime: | 33:11:32 |
Calls: | 15,172 |
Calls today: | 1 |
Files: | 19,859 |
D/L today: |
19 files (4,250K bytes) |
Messages: | 1,692,610 |