I've got most of the synchronet-web-v4 stuff setup on my board, but can't quite figure out allowing ftelnet to connect to my system.
I checked your system, and it appears I can't connect to your system using ftelnet from your web page either.
In both cases, I am _not_ logged in to the BBS, but visit the WWW site for
window. The screen appears to be trying to do 'something' and then eventually goes dark gray after about 8-10 seconds.
I have tried this with the firewall disabled, and still get the same
I am able to take the stand alone ftelnet app and connect to my system, so
Re: ftelnet into bbs from synchronet-web-v4?
By: Hemo to echicken / all on Mon Sep 12 2016 21:56:46
Coincidentally, I tried using it earlier this evening and it wouldn't let me connect the first couple of times. Then, as I was trying to figure out why, it just started working again. So I'm not sure what the problem is but I'll look into it further.
For fTelnet on the Home page, it doesn't matter if you are or aren't logged into the website. On the Games page, however, it does matter (and IIRC by default this page is not available to the guest user).
Similar to what I was seeing earlier. In my case fTelnet did connect to my system, but then ran into an error (I don't recall what).
Per the instructions you should have two services enabled in 'ctrl/services.ini': 'WebSocket' and 'WebSocketRLogin', listening on ports 1123 and 1513 respectively (or whichever ports you like, those are just the ones I pulled out of my ass while writing the readme). As long as those ports are open between your BBS and whatever machine you're using the web browser on, then there shouldn't be any firewall concerns.
If you monitor your BBS logs and see WebSocket and WebSocketRLogin messages from the services thread coinciding with your attempts to connect via fTelnet, then that means the connection is being made but something else is going wrong past that point. (That's what was happening here earlier.) This too would confirm that it's not a firewall thing.
Okay, that lines up with where I expect the problem to be found. I'll see what I can do, but for me the problem is intermittent so it may take a while to track down.
---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
â– Synchronet â– electronic chicken bbs - bbs.electronicchicken.com
Re: ftelnet into bbs from synchronet-web-v4?
By: Hemo to echicken / all on Mon Sep 12 2016 21:56:46
Coincidentally, I tried using it earlier this evening and it wouldn't let me connect the first couple of times. Then, as I was trying to figure out why, it just started working again. So I'm not sure what the problem is but I'll look into it further.
For fTelnet on the Home page, it doesn't matter if you are or aren't logged into the website. On the Games page, however, it does matter (and IIRC by default this page is not available to the guest user).
Similar to what I was seeing earlier. In my case fTelnet did connect to my system, but then ran into an error (I don't recall what).
Per the instructions you should have two services enabled in 'ctrl/services.ini': 'WebSocket' and 'WebSocketRLogin', listening on ports 1123 and 1513 respectively (or whichever ports you like, those are just the ones I pulled out of my ass while writing the readme). As long as those ports are open between your BBS and whatever machine you're using the web browser on, then there shouldn't be any firewall concerns.
If you monitor your BBS logs and see WebSocket and WebSocketRLogin messages from the services thread coinciding with your attempts to connect via fTelnet, then that means the connection is being made but something else is going wrong past that point. (That's what was happening here earlier.) This too would confirm that it's not a firewall thing.
Okay, that lines up with where I expect the problem to be found. I'll see what I can do, but for me the problem is intermittent so it may take a while to track down.
---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
â– Synchronet â– electronic chicken bbs - bbs.electronicchicken.com
I monitored my sbbs.log and this is what I get when I click on the ftelnet 'connect' button:
Sep 14 11:29:06 bbs synchronet: srvc 0027 WebSocket connection accepted from: 99.199.99.299 port 7042
Sep 14 11:29:17 bbs synchronet: srvc 0027 WebSocket service thread terminated (0 clients remain, 1 total, 3 served)
Sep 14 11:29:17 bbs synchronet: srvc 0027 !ERROR 9 closing socket
Sep 14 11:29:20 bbs synchronet: web 0042 Request: GET /api/system.ssjs?call=node-list HTTP/1.1
Sep 14 11:29:20 bbs synchronet: web 0042 Sending file: /sbbs/tmp/SBBS_SSJS.99.99.html (0 bytes)
I masked the IP, but was wondering about the port 7042 it shows.. this is from my services.ini:
[WebSocket]
Port=1123
Options=NO_HOST_LOOKUP
Command=websocket-telnet-service.js
[WebSocketRLogin]
Port=1513
Options=NO_HOST_LOOKUP
Command=websocket-rlogin-service.js
Sep 14 11:41:15 bbs synchronet: srvc 0027 !ERROR 9 closing socket
So.. this one clearly says unable to connect to server. Any idea what !ERROR 9 points to?
I monitored my sbbs.log and this is what I get when I click on the
ftelnet 'connect' button:
Sep 14 11:29:06 bbs synchronet: srvc 0027 WebSocket connection
accepted from: 99.199.99.299 port 7042 Sep 14 11:29:17 bbs synchronet: srvc 0027 WebSocket service thread terminated (0 clients remain, 1
total, 3 served) Sep 14 11:29:17 bbs synchronet: srvc 0027 !ERROR 9 closing socket Sep 14 11:29:20 bbs synchronet: web 0042 Request: GET /api/system.ssjs?call=node-list HTTP/1.1 Sep 14 11:29:20 bbs
synchronet: web 0042 Sending file: /sbbs/tmp/SBBS_SSJS.99.99.html (0 bytes)
I should also note that attempting to run a door (any) after logging in to the html web doesn't work, but get a slightly different error:
Sep 14 11:41:15 bbs synchronet: srvc 0027 WebSocketRLogin RLogin: Unable to connect to server.
Hello Hemo!
14 Sep 16 11:44, you wrote to echicken:
I monitored my sbbs.log and this is what I get when I click on the
ftelnet 'connect' button:
Sep 14 11:29:06 bbs synchronet: srvc 0027 WebSocket connection
accepted from: 99.199.99.299 port 7042 Sep 14 11:29:17 bbs
synchronet: srvc 0027 WebSocket service thread terminated (0 clients
remain, 1 total, 3 served) Sep 14 11:29:17 bbs synchronet: srvc 0027
!ERROR 9 closing socket Sep 14 11:29:20 bbs synchronet: web 0042
Request: GET /api/system.ssjs?call=node-list HTTP/1.1 Sep 14
11:29:20 bbs synchronet: web 0042 Sending file:
/sbbs/tmp/SBBS_SSJS.99.99.html (0 bytes)
I had the exact same issue. Mine turned out to ne an entry n the host.can file of <no name> (No sure if the proper capped or not). Once I removed that entry and recycled the terminal server it worked like a charm.
Not sure about the problem with fTelnet on the home page, but I'll take a look at it soon.
I should also note that attempting to run a door (any) after logging
in to the html web doesn't work, but get a slightly different error:
Sep 14 11:41:15 bbs synchronet: srvc 0027 WebSocketRLogin RLogin:
Unable to connect to server.
Is your BBS listening for rlogin connections? Check the [BBS] section of ctrl/sbbs.ini, ensure that ALLOW_RLOGIN is included in the 'Options', and ensure that 'RLoginPort' is set to something (usually 513).
Sysop: | Ragnarok |
---|---|
Location: | Dock Sud, Bs As, Argentina |
Users: | 136 |
Nodes: | 10 (0 / 10) |
Uptime: | 47:30:28 |
Calls: | 15,173 |
Files: | 19,862 |
D/L today: |
7 files (2,266K bytes) |
Messages: | 1,693,225 |