• exec/load/json-sock.js

    From mcmlxxix@VERT to CVS commit on Wed Aug 8 23:10:01 2012
    exec/load json-sock.js 1.8 1.9
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv12829

    Modified Files:
    json-sock.js
    Log Message:
    increase recvline() timeout to 30 seconds for you west coasties.
    log send errors.
    remove deuce's testes.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From deuce@VERT to CVS commit on Fri Jan 11 11:06:41 2013
    exec/load json-sock.js 1.9 1.10
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv6370

    Modified Files:
    json-sock.js
    Log Message:
    Include the error value in the log entry when send() fails.



    ---
    þ Synchronet þ Vertrauen þ H
  • From deuce@VERT to CVS commit on Fri Jan 11 13:36:40 2013
    exec/load json-sock.js 1.10 1.11
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv7839

    Modified Files:
    json-sock.js
    Log Message:
    Handle short sends.



    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synch
  • From deuce@VERT to CVS commit on Fri Jan 11 13:41:19 2013
    exec/load json-sock.js 1.11 1.12
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv7924

    Modified Files:
    json-sock.js
    Log Message:
    Remove usless send, move usless logging to where it is slightly less useless.



    ---
    þ Synchro
  • From deuce@VERT to CVS commit on Fri Jan 11 13:50:22 2013
    exec/load json-sock.js 1.12 1.13
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv8058

    Modified Files:
    json-sock.js
    Log Message:
    The JS socket.send() API is unusable for non-blocking sockets.
    Stop using it for that.



    ---
  • From mcmlxxix@VERT to CVS commit on Wed Feb 6 18:27:01 2013
    exec/load json-sock.js 1.13 1.14
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv27193

    Modified Files:
    json-sock.js
    Log Message:
    disable logging of sent/received packets by default. (spammy if you are a *nix user and cant control your bowels)

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.synchro.net
  • From mcmlxxix@VERT to CVS commit on Wed Feb 6 18:31:37 2013
    exec/load json-sock.js 1.14 1.15
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv27269

    Modified Files:
    json-sock.js
    Log Message:
    only log successful sock.send()s

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://
  • From mcmlxxix@VERT to CVS commit on Sat Dec 7 14:15:06 2013
    exec/load json-sock.js 1.15 1.16
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv28709

    Modified Files:
    json-sock.js
    Log Message:
    what? someone actually wants to use the ping method? better make it work...

    ---
    þ Synchronet þ
  • From mcmlxxix@VERT to CVS commit on Sat Dec 7 14:33:52 2013
    exec/load json-sock.js 1.16 1.17
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv28815

    Modified Files:
    json-sock.js
    Log Message:
    try this shit.. pingping fixes

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://ve
  • From mcmlxxix@VERT to CVS commit on Fri Jun 6 11:35:08 2014
    exec/load json-sock.js 1.17 1.18
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv21838

    Modified Files:
    json-sock.js
    Log Message:
    let us not spam the logs by default - Socket.prototype.debug_logging = false

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ telnet://vert.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/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@ragnarok@docksud.com.ar 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

    =)
  • 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