• MRC client crashes with error - !JavaScript inputline.js line 150: Err

    From Keyop Troy@1:103/705 to GitLab issue in main/sbbs on Wed Aug 30 13:56:29 2023
    open https://gitlab.synchro.net/main/sbbs/-/issues/607

    After running MRC client for several hours, I get this error message which aborts the MRC client.!JavaScript inputline.js line 150: Error: Infinite loop (864001 operation callbacks) detected
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Thu Aug 31 21:08:24 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/607#note_3854

    It looks like the solution is to update the mrc-connector example file to includeJavaScriptTimeLimit=0in the [MRC-Connector] section andvar js.time_limit=0 in the mrc-client.js file.per discussion on irc.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From echicken@1:103/705 to GitLab note in main/sbbs on Sat Nov 25 22:44:05 2023
    https://gitlab.synchro.net/main/sbbs/-/issues/607#note_4504

    Unassigning self. I see that one or two others have made contributions to the MRC client in my absence, so perhaps they can deal with this. The original author has abandoned this module.

    (I like MRC at a philosophical level, but not at a technical one, and I regret implementing it.)
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Thu Feb 29 17:12:17 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/607#note_5017

    I'm still getting the timeout after 24 hours... I think this is due to a safety feature in JS?

    Thoughts?
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Thu Feb 29 17:13:49 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/607#note_5018

    Well I'm glad you did add it :smile:
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Thu Feb 29 17:30:29 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/607#note_5020

    Could be. I'll bring up a client and leave it running myself and see.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Mar 1 00:03:54 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/607#note_5021

    If the client (not the connector), then the solution would be to add the following line somewhere in the client JS source:
    `js.time_limit = 0`

    This would allow the client to run forever.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Fri Mar 1 00:04:13 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/607#note_5022

    It probably should be configurable as not all sysops likely want that behavior. --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Fri Mar 1 17:33:22 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/607#note_5027

    Line 17 in mrc-client.js on my system has:

    js.time_limit=0;

    but still produces the message:

    term Node 2 <Keyop> !JavaScript /sbbs/mods/chat_sec.js line 163: Error: Infinite loop (864336 operation callbacks) detected

    When I exit the client after 24 hours ...
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Nigel Reed@1:103/705 to GitLab note in main/sbbs on Fri Mar 1 17:36:42 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/607#note_5028

    That's chat_sec.js not mrc-client.js then, isn't it?
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Fri Mar 1 17:48:10 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/607#note_5029

    For clarification, the error occurs after quiting MRC client after 24 hours. --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab note in main/sbbs on Fri Mar 1 18:14:09 2024
    https://gitlab.synchro.net/main/sbbs/-/issues/607#note_5031

    The original issue was fixed (MRC client exiting during use) and now we have a different issue with the client reporting an error after closing the client after 24 hours.

    Will submit new issue to cover the latest issue as recommended by nelgin.
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Keyop Troy@1:103/705 to GitLab issue in main/sbbs on Fri Mar 1 18:14:09 2024
    close https://gitlab.synchro.net/main/sbbs/-/issues/607
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)