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

    From Keyop Troy@1:103/705 to GitLab issue in main/sbbs on Wednesday, August 30, 2023 13:56:29
    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 Thursday, August 31, 2023 21:08:24
    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 Saturday, November 25, 2023 22:44:05
    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 Thursday, February 29, 2024 17:12:17
    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 Thursday, February 29, 2024 17:13:49
    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 Thursday, February 29, 2024 17:30:29
    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 Friday, March 01, 2024 00:03:54
    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 Friday, March 01, 2024 00:04:13
    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 Friday, March 01, 2024 17:33:22
    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 Friday, March 01, 2024 17:36:42
    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 Friday, March 01, 2024 17:48:10
    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 Friday, March 01, 2024 18:14:09
    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 Friday, March 01, 2024 18:14:09
    close https://gitlab.synchro.net/main/sbbs/-/issues/607
    --- SBBSecho 3.20-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)