• exec/load/json-sock.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Jun 16 14:28:03 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/887ae4893e6e6fe905bf4503
    Modified Files:
    exec/load/json-sock.js
    Log Message:
    More detail to JSON.parse() error in Socket.prototype.recvJSON

    This is likely the cause of the vauge logged error that I and other
    sysops see from time to time:
    srvc 0000 JSON SyntaxError: JSON.parse

    ... so log the function name and the contents of the string that's
    failing to parse.

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Sun Jun 16 14:28:03 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/50a02b67b298882a5d254c40
    Modified Files:
    exec/load/json-sock.js
    Log Message:
    Include the service descriptor in the JSONrecv error message

    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Rob Swindell (on Debian Linux) on Sun Jun 16 23:29:26 2024
    El 16/6/24 a las 18:28, Rob Swindell (on Debian Linux) escribió:
    https://gitlab.synchro.net/main/sbbs/-/commit/50a02b67b298882a5d254c40 Modified Files:
    exec/load/json-sock.js
    Log Message:
    Include the service descriptor in the JSONrecv error message
    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
    yeahh

    bbs.docksud.com.ar ERROR occurred:
    srvc 0000 JSON recvJSON(95): SyntaxError: JSON.parse '{"scope":"oneliners","func":"RESPONSE","oper":"READ","location":"ONELINERS","data":[{"time":1617223658,"client":"95.90.239.220","alias":"opus7","systemName":"electronic
    chicken bbs","systemHost":"bbs.electronicchicken

    =)
    ---
    ■ Synchronet ■ Dock Sud BBS TLD 24 HS - bbs.docksud.com.ar
  • From Digital Man@VERT to Ragnarok on Sun Jun 16 21:34:07 2024
    Re: Re: exec/load/json-sock.js
    By: Ragnarok to Rob Swindell (on Debian Linux) on Sun Jun 16 2024 11:29 pm

    srvc 0000 JSON recvJSON(95): SyntaxError: JSON.parse '{"scope":"oneliners","fu nc":"RESPONSE","oper":"READ","location":"ONELINERS ","data":[{"time":1617223658, "client":"95.90.239.220","alias":"opus7","systemName":"electronic
    chicken bbs","systemHost":"bbs.electronicchicken

    Looks like the data (the JSON string) is truncated. I'm not sure but that might be a problem on the *sending* side (EC's BBS).
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #82:
    Sysop = System Operator
    Norco, CA WX: 64.8°F, 77.0% humidity, 3 mph W wind, 0.00 inches rain/24hrs
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From echicken@VERT/ECBBS to Digital Man on Mon Jun 17 10:25:33 2024
    Re: Re: exec/load/json-sock.js
    By: Digital Man to Ragnarok on Sun Jun 16 2024 21:34:07

    Looks like the data (the JSON string) is truncated. I'm not sure but that might be a problem on the *sending* side (EC's BBS).

    There was probably nothing received. I had a power outage sometime early Sunday morning and didn't realize my BBS was offline until sometime in the afternoon.

    Really need to order that new UPS battery. :|

    echicken
    electronic chicken bbs - bbs.electronicchicken.com
    ---
    ■ Synchronet ■ electronic chicken bbs - bbs.electronicchicken.com
  • From Digital Man@VERT to echicken on Mon Jun 17 13:16:10 2024
    Re: Re: exec/load/json-sock.js
    By: echicken to Digital Man on Mon Jun 17 2024 10:25 am

    Re: Re: exec/load/json-sock.js
    By: Digital Man to Ragnarok on Sun Jun 16 2024 21:34:07

    Looks like the data (the JSON string) is truncated. I'm not sure but that might be a problem on the *sending* side (EC's BBS).

    There was probably nothing received. I had a power outage sometime early Sunday morning and didn't realize my BBS was offline until sometime in the afternoon.

    Really need to order that new UPS battery. :|

    The log message pasted here had data though... it was truncated. That could just be the logging pipeline however (that truncated it) - I don't see the terminating single-quote that I would expect to see if it was received as a truncated message.
    --
    digital man (rob)

    Synchronet/BBS Terminology Definition #44:
    IHA = Ille Homine Albe (Steve Deppe)
    Norco, CA WX: 73.1°F, 58.0% humidity, 5 mph WNW wind, 0.00 inches rain/24hrs ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net