• Strange Goings on..

    From KK4QBN@VERT/KK4QBN to All on Thursday, March 08, 2018 03:46:50
    I've got some weird shit happening with my newest build of Synchronet for linux (Debian)

    First off, let me fill you in on my process:


    I have a completly sepeerate SBBS tree to do my CVS updates and builds while the BBS is still running, then back my BBS up and copy the binaries and new files (by date) over to my active BBS tree.

    I did this last night because of some code issues with one previous commit, since I have done this, FTelnet on my website (ECWEBV4) is not working, not is it showing ANY content that was under the ftelnet window on the 00home.xjs page.

    and I did NOT even TOUCH the web directory with CVS update, all I noticed is that it was throwing a bunch of errors, I tried backing back up to my previous build, but it's not happening.. still giving issues, Here are some of the issues being givenL

    Wed Mar 07 2018 08:05:48 kk4qbn.synchro.net
    web 0038 !JavaScript /sbbs/exec/../web/lib/init.js line 8: TypeError:
    settings is null, Request: /api/files.ssjs?call=download-file&dir=no1995009a&file=AMBIENCE.ZIP

    And many many more like that, I presume that is google crawling my file areas, but still has nothing to do with my 000-home.xjs only partially showing.

    I even downloaded a new version of ecwv4 from github, and still the same issues.

    here are some more random errors (One being an error that the update was supposed to fix)

    Wed Mar 07 2018 01:03:35 kk4qbn.synchro.net
    mail Unable to set session active

    Wed Mar 07 2018 01:03:35 kk4qbn.synchro.net
    mail Unable to set max inactivity

    Wed Mar 07 2018 01:55:35 kk4qbn.synchro.net
    Timed event: MSGMAINT returned 255

    Wed Mar 07 2018 01:55:55 kk4qbn.synchro.net
    Node 1 TypeError: this.extra_headers is undefined



    I woke up to 50 errors, and an error log that has 7000 lines of error information most of it dupes, a lot of my timed events wont run.

    here is the last few lines of my error log:

    Thu Mar 08 2018 00:07:38 kk4qbn.synchro.net
    web 0037 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line 3$

    Thu Mar 08 2018 00:28:01 kk4qbn.synchro.net
    web 0039 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line 3$

    Thu Mar 08 2018 00:32:25 kk4qbn.synchro.net
    web 0037 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line 3$

    Thu Mar 08 2018 00:32:26 kk4qbn.synchro.net
    web 0037 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line 3$

    Thu Mar 08 2018 00:32:28 kk4qbn.synchro.net
    web 0037 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line 3$

    ^^TRUNCATED


    Thu Mar 08 2018 00:34:50 kk4qbn.synchro.net
    web 0037 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line 38: TypeError: webSocket is null, Request: /index.xjs


    Thu Mar 08 2018 02:45:55 kk4qbn.synchro.net
    ERROR 2 (No such file or directory) in qwktomsg.cpp line 478 (qwk_import_msg) writing "/sbbs/data/subs/rwnhamradio" access=4294967194 info=smb_freemsgdat 2 $

    Thu Mar 08 2018 02:45:55 kk4qbn.synchro.net
    ERROR 2 (No such file or directory) in qwktomsg.cpp line 478 (qwk_import_msg) writing "/sbbs/data/subs/rwnhamradio" access=4294967194 info=smb_putmsgidx inv$

    Thu Mar 08 2018 02:45:55 kk4qbn.synchro.net
    ERROR 2 (No such file or directory) in qwktomsg.cpp line 478 (qwk_import_msg) writing "/sbbs/data/subs/rwnhambbs" access=4294967194 info=smb_putmsgidx inval$

    Thu Mar 08 2018 02:58:33 kk4qbn.synchro.net
    web 0037 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line 38: TypeError: webSocket is null, Request: /index.xjs

    Thu Mar 08 2018 03:20:06 kk4qbn.synchro.net
    Node 1 TypeError: options is null


    Looks like I'm being attacked everywhere.. Is there a new file I'm missing? I've updated my file tree and copied over all files with newer dates.

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN BBS - kk4qbn.com - kk4qbn.synchro.net - Chatsworth GA USA
  • From echicken@VERT/ECBBS to KK4QBN on Thursday, March 08, 2018 10:11:51
    Re: Strange Goings on..
    By: KK4QBN to All on Thu Mar 08 2018 03:46:50

    Wed Mar 07 2018 08:05:48 kk4qbn.synchro.net
    web 0038 !JavaScript /sbbs/exec/../web/lib/init.js line 8: TypeError: settings is null, Request:

    Do you still have a [web] section in your 'ctrl/modopts.ini' file? This error means that the script was unable to read that section.

    web 0037 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line 38: TypeError: webSocket is null, Request: /index.xjs

    Do you have either a [WebSocketTelnet] or a [WebSocket] section in your 'ctrl/services.ini' file? This error means that the script was unable to load such a section.

    ERROR 2 (No such file or directory) in qwktomsg.cpp line 478 (qwk_import_msg) writing "/sbbs/data/subs/rwnhamradio" access=4294967194 info=smb_freemsgdat 2 $

    This is (probably) unrelated to the other two, and I assume happening during a QWK poll.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From KK4QBN@VERT/KK4QBN to echicken on Thursday, March 08, 2018 13:22:27
    Re: Strange Goings on..
    By: echicken to KK4QBN on Thu Mar 08 2018 10:11:51

    Wed Mar 07 2018 08:05:48 kk4qbn.synchro.net
    web 0038 !JavaScript /sbbs/exec/../web/lib/init.js line 8:
    TypeError: settings is null, Request:

    Do you still have a [web] section in your 'ctrl/modopts.ini' file? This error means that the script was unable to read that section.

    web 0037 !JavaScript
    /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line 38:
    TypeError: webSocket is null, Request: /index.xjs

    Do you have either a [WebSocketTelnet] or a [WebSocket] section in your 'ctrl/services.ini' file? This error means that the script was unable to load such a section.

    ERROR 2 (No such file or directory) in qwktomsg.cpp line 478
    (qwk_import_msg) writing "/sbbs/data/subs/rwnhamradio"
    access=4294967194 info=smb_freemsgdat 2 $

    This is (probably) unrelated to the other two, and I assume happening during a QWK poll.


    Whats funny is I I do my CVS updates in another file tree, not the working file tree, and I did not copy another modopts.ini over from the othter file tree, but after viewing this error, thats the first thing I looked at and the modopts.ini was missing the web section, so I copied it back over from my backup, and it was still giving issues, so I looked at the modopts.ini again, and the web section was once again gone.. I have some freaky shit going on here.. besides the website (ftelnet) and main website module not working correctly the BBS is now running smoother than it ever has, besides the MANY errors, I have a total of 111 errors showing since I brought the system back up about 6am edt. here are some more errors:

    Thu Mar 08 2018 07:19:44 kk4qbn.com
    web 0033 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line 3$

    Thu Mar 08 2018 07:30:56 kk4qbn.com
    Timed event: MSGMAINT returned 127

    Thu Mar 08 2018 07:42:15 kk4qbn.com
    web 0010 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line 3$

    Thu Mar 08 2018 07:50:16 kk4qbn.com
    web 0010 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line
    38: TypeError: webSocket is null, Request: /index.xjs

    Thu Mar 08 2018 08:46:00 kk4qbn.com
    ERROR 2 (No such file or directory) in qwktomsg.cpp line 478 (qwk_import_msg)
    writing "/sbbs/data/subs/rwnhambbs" access=4294967194 info=smb_freemsgdat 2
    'No such file or directory' reading allocation record at offset 9804

    Thu Mar 08 2018 07:50:16 kk4qbn.com
    web 0010 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line
    38: TypeError: webSocket is null, Request: /index.xjs

    Thu Mar 08 2018 08:46:00 kk4qbn.com
    ERROR 2 (No such file or directory) in qwktomsg.cpp line 478 (qwk_import_msg)
    writing "/sbbs/data/subs/rwnhambbs" access=4294967194 info=smb_freemsgdat 2
    'No such file or directory' reading allocation record at offset 9804

    Thu Mar 08 2018 08:53:29 kk4qbn.com
    web 0010 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line
    38: TypeError: webSocket is null, Request: /index.xjs

    Thu Mar 08 2018 08:53:30 kk4qbn.com
    web 0010 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line
    38: TypeError: webSocket is null, Request: /index.xjs

    Thu Mar 08 2018 08:53:31 kk4qbn.com

    Thu Mar 08 2018 08:53:30 kk4qbn.com
    web 0010 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line
    38: TypeError: webSocket is null, Request: /index.xjs

    Thu Mar 08 2018 08:53:31 kk4qbn.com
    web 0037 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line 3$

    Thu Mar 08 2018 09:04:26 kk4qbn.com
    Node 1 TypeError: options is null

    Thu Mar 08 2018 09:05:15 kk4qbn.com
    Node 1 TypeError: options is null

    Thu Mar 08 2018 09:09:46 kk4qbn.com
    web 0012 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs line 3$

    Thu Mar 08 2018 09:24:37 kk4qbn.com
    web 0012 !JavaScript /home/kk4qbn/sbbs/web/root/pages/000-home.xjs.ssjs



    I posted a few untruncated for easier reading.

    I restored my stored backup WEB directory and it is still giving the same issues

    the FTelnet app and all content under it in my 000-home.xjs is not showing up, I'm probably going ot have to rollback to my WHOLE backup to get everything website wise back to 100%, maybe it's in the exes somwhere or some of the modules, but this is happened since I did a complete CVS update a fresh build.

    and as I stated, I Have a Seperate SBBS directory tree that I update and build and copy all the new files over to my working BBS dirctory using the file dates.

    the TELNET, and every other operational portoion of the BBS is doing as good as ever, it's just ECWEB giving issues, I even downloaded a new ECWEB master from your website and put my custommized web pages in it with the same result.

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN BBS - kk4qbn.com - kk4qbn.synchro.net - Chatsworth GA USA
  • From echicken@VERT/ECBBS to KK4QBN on Friday, March 09, 2018 11:35:12
    Re: Strange Goings on..
    By: KK4QBN to echicken on Thu Mar 08 2018 13:22:27

    file tree, but after viewing this error, thats the first thing I looked at and the modopts.ini was missing the web section, so I copied it back over from my backup, and it was still giving issues, so I looked at the modopts.ini again, and the web section was once again gone.. I have some

    Something is deleting that section. My scripts only ever read from the two
    INI files in question and never attempt to modify them. Maybe there's a new bug in INI file handling that causes read sections to be excised from files? I dunno.

    I posted a few untruncated for easier reading.

    Only the untruncated lines are useful. The ones you shared ending with $ lack the full error message and line number where the problem occurred. These are the same errors I saw before, though, and relate to entries missing from modopts.ini and services.ini.

    I restored my stored backup WEB directory and it is still giving the same issues

    Then your Synchronet build or something newer than your web directory backup is likely where the problem is coming from.

    the FTelnet app and all content under it in my 000-home.xjs is not showing

    The script is breaking before it can finish sending that page. This is because it can't read some crucial information from modopts.ini and/or services.ini.

    the TELNET, and every other operational portoion of the BBS is doing as good as ever

    Except for those other error messages you posted (something about MSGMAINT and a QWK import) which are unrelated to the web interface.

    good as ever, it's just ECWEB giving issues, I even downloaded a new ECWEB master from your website and put my custommized web pages in it with the same result.

    Apart from removing some fTelnet helper stuff, I have made very few changes to that web interface over the past six months or more. I suspect the problem is coming from elsewhere.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From echicken@VERT/ECBBS to KK4QBN on Friday, March 09, 2018 11:38:58
    Re: Strange Goings on..
    By: KK4QBN to echicken on Thu Mar 08 2018 13:22:27

    and the modopts.ini was missing the web section, so I copied it back over from my backup, and it was still giving issues, so I looked at the modopts.ini again, and the web section was once again gone.. I have some

    I see that Deuce committed some INI-file-related changes recently (yesterday?).
    Not sure what impact they may have, but you might want to update and see if it helps.

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From KK4QBN@VERT/KK4QBN to echicken on Friday, March 09, 2018 16:24:10
    Re: Strange Goings on..
    By: echicken to KK4QBN on Fri Mar 09 2018 11:35:12


    file tree, but after viewing this error, thats the first thing I
    looked at and the modopts.ini was missing the web section, so I
    copied it back over from my backup, and it was still giving issues,
    so I looked at the modopts.ini again, and the web section was once
    again gone.. I have some

    Something is deleting that section. My scripts only ever read from the two INI files in question and never attempt to modify them. Maybe there's a new bug in INI file handling that causes read sections to be excised from files? I dunno.

    Yeah, I dunno what it could have been, I put the backup files back in the ctrl dir, but for some reason ftelnet is missing in my /web/root dir.. even though the physical files are there it acts as if it does'nt exist. this did'nt happen until I did a CVS update in my secondary SBBS dir to build the updated executables, I did not mess with anything in my working sbbs dir, and only updated the files with the newest files in my build dir. very strange.. I have more things working now than I did earlier this morning.. but ftelnet is still giving issues. I'm sure to get it fixed soon.

    Except for those other error messages you posted (something about MSGMAINT and a QWK import) which are unrelated to the web interface.

    I get those msgmaint errors from time to tim because an event will hang and cause memsgmaint to run late, the QWK errors do happen time to time I think a sysop in another network has a message subboard named the same as one of verts and it is catching dupes, I will have to go over the error logs and check again, vut since the new build I have when from averaging 100+ errors to around 10 a day.. so I'm just bug crushing 1 at a time.

    Thanks for your time and help. most of my website is back 10 100% ftelnet is still not operational though. even though it exists physically and nothing has been changed in any of the *.ini files. I'm wordering if all the new TLS code changes may have something to do with it?

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN BBS - kk4qbn.com - kk4qbn.synchro.net - Chatsworth GA USA
  • From KK4QBN@VERT/KK4QBN to echicken on Friday, March 09, 2018 16:26:04
    Re: Strange Goings on..
    By: echicken to KK4QBN on Fri Mar 09 2018 11:38:58

    [1m[34mRe[0m[34m: [1m[36mStrange Goings on..
    [34mBy[0m[34m: [1m[36mKK4QBN [34mto [36mechicken [34mon [36mThu Mar 08 2018 13:22:27[0m

    and the modopts.ini was missing the web section, so I copied it back
    over from my backup, and it was still giving issues, so I looked at
    the modopts.ini again, and the web section was once again gone.. I
    have some

    I see that Deuce committed some INI-file-related changes recently (yesterday?).
    Not sure what impact they may have, but you might want to update and see if it helps.

    I was just wondering that same exact thing, when I get home, I will check the updates echo again, and go over everything again, If I have to I will rollback to the older executables.

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN BBS - kk4qbn.com - kk4qbn.synchro.net - Chatsworth GA USA
  • From echicken@VERT/ECBBS to KK4QBN on Friday, March 09, 2018 22:26:27
    Re: Strange Goings on..
    By: KK4QBN to echicken on Fri Mar 09 2018 16:24:10

    ctrl dir, but for some reason ftelnet is missing in my /web/root dir.. even though the physical files are there it acts as if it does'nt exist.

    It's not that anything thinks ftelnet doesn't exist on your webserver, it's that the script that's rendering the page is crashing before the ftelnet embed code gets sent. I just tried visiting your site, and it's failing at the same point as before - 'webSocket is null', which would result from an inability to find details of your WebSocketTelnet service in services.ini.

    morning.. but ftelnet is still giving issues. I'm sure to get it fixed soon.

    Take another look at ctrl/services.ini and be sure that you have a section like this in there:

    [WebSocketTelnet]
    Port=1123
    Options=NO_HOST_LOOKUP
    Command=websocket-telnet-service.js

    The spelling (and probably case) of the section name is important, but it will also work if it's just called WebSocket.

    nothing has been changed in any of the *.ini files. I'm wordering if all the new TLS code changes may have something to do with it?

    Not likely - the 'webSocket is null' error points to a specific problem, which I've described.

    If you were browsing your site via HTTPS, you would run into problems with mixed secure/insecure content. The HTTPS connection would be secure but the WebSocket service would not be, and the browser would complain; that isn't the problem here (yet) though. That's a problem I'll have to think about solving later. (On my own server, I just use a reverse proxy for both HTTPS and WebSockets, and I'm not yet using any built-in SSL/TLS stuff.)

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com
  • From KK4QBN@VERT/KK4QBN to echicken on Saturday, March 10, 2018 01:04:56
    Re: Strange Goings on..
    By: echicken to KK4QBN on Fri Mar 09 2018 22:26:27

    [WebSocketTelnet]
    Port=1123
    Options=NO_HOST_LOOKUP
    Command=websocket-telnet-service.js

    Well.. that did it, I don;t know how, butit did, because I did the CVS update in a completely different sbbs tree so I would'nt overwrite custom files, and ended up screwing up more doing it this way than just updataing from the working sbbs directry.

    the ftelnet window is showing up NULL now, but I'm sure it's something I can fix fairly easily I hope.

    Now I will look over EVERY file and see what I screwed up doing it this way.

    Thanks ECK

    --

    Tim Smith (KK4QBN)
    KK4QBN BBS

    ---
    * Synchronet * KK4QBN BBS - kk4qbn.com - kk4qbn.synchro.net - Chatsworth GA USA
  • From echicken@VERT/ECBBS to KK4QBN on Saturday, March 10, 2018 02:06:13
    Re: Strange Goings on..
    By: KK4QBN to echicken on Sat Mar 10 2018 01:04:56

    Looks like you have two problems.

    If you don't have a Port set in the [WebSocketTelnet] section of services.ini, be sure to set one:

    Port=1123

    You may also need to set a websocket_telnet_port value in the [web] section of modopts.ini (same value as in services.ini). This is the thing that's stopping fTelnet from connecting to your BBS.

    the ftelnet window is showing up NULL now, but I'm sure it's something I

    That would seem to be a problem with reading the fTelnet splash screen file. Be sure that you have an ftelnet_splash value set in the [web] section of modopts.ini. It should point to a .ans file somewhere. (Even if you don't fix this, I doubt if it's preventing fTelnet from working.)

    ---
    echicken
    electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230
    þ Synchronet þ electronic chicken bbs - bbs.electronicchicken.com