• Noddy errors

    From Dumas Walker@21:1/175 to All on Thu Jul 25 13:15:28 2024
    I installed noddy today. The first time I fired it up, I got the following error:

    node app.js ~/Talisman
    /home/bbs/Talisman/noddy/app.js:53
    secret: talismanconfig.noddy['session secret'],
    ^

    TypeError: Cannot read properties of undefined (reading 'session secret')
    at Object.<anonymous> (/home/bbs/Talisman/noddy/app.js:53:33)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    at node:internal/main/run_main_module:28:49

    Node.js v18.19.0

    I added the following to my talisman.ini file:

    [noddy]
    session secret =

    I then fired it up and it seemed to start OK:

    node app.js ~/Talisman
    express-session deprecated req.secret; provide secret option app.js:51:9
    Noddy listening at http://localhost:3000

    However, when I surfed in to check it out, I got the following error in my browser window:

    Error: secret option required for sessions
    at session (/home/bbs/Talisman/noddy/node_modules/express-session/index.js:204:12)
    at Layer.handle [as handle_request] (/home/bbs/Talisman/noddy/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/bbs/Talisman/noddy/node_modules/express/lib/router/index.js:328:13)
    at /home/bbs/Talisman/noddy/node_modules/express/lib/router/index.js:286:9
    at Function.process_params (/home/bbs/Talisman/noddy/node_modules/express/lib/router/index.js:346:12)
    at next (/home/bbs/Talisman/noddy/node_modules/express/lib/router/index.js:280:10)
    at urlencodedParser (/home/bbs/Talisman/noddy/node_modules/body- parser/lib/types/urlencoded.js:91:7)
    at Layer.handle [as handle_request] (/home/bbs/Talisman/noddy/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/bbs/Talisman/noddy/node_modules/express/lib/router/index.js:328:13)
    at /home/bbs/Talisman/noddy/node_modules/express/lib/router/index.js:286:9

    I am guessing I still need to do some extra things in my talisman.ini file. I tried to go to the
    Talisman BBS website to see if there was any documentation, but it appears to be down:

    Error resolving “talismanbbs.com”: Temporary failure in name resolution


    Thanks!
    --- SBBSecho 3.20-Linux
    * Origin: capitolcityonline.net * Telnet/SSH:2022/HTTP (21:1/175)
  • From J0hnny A1pha@21:4/158 to Dumas Walker on Thu Jul 25 22:30:05 2024
    BY: Dumas Walker (21:1/175)
    On Thursday,July 25, 2024 at 12:15 PM, Dumas Walker (21:1/175) wrote:

    I installed noddy today. The first time I fired it up, I got the
    following
    error:

    node app.js ~/Talisman
    /home/bbs/Talisman/noddy/app.js:53
    secret: talismanconfig.noddy['session secret'],
    ^

    TypeError: Cannot read properties of undefined (reading 'session
    secret')
    at Object.<anonymous> (/home/bbs/Talisman/noddy/app.js:53:33)
    at Module._compile (node:internal/modules/cjs/loader:1356:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1414:10)
    at Module.load (node:internal/modules/cjs/loader:1197:32)
    at Module._load (node:internal/modules/cjs/loader:1013:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    at node:internal/main/run_main_module:28:49

    Node.js v18.19.0

    I added the following to my talisman.ini file:

    [noddy]
    session secret =


    I had this in my talisman.ini:

    [noddy]
    seclevel = 10
    session secret = secretPW



    --- WWIV 5.9.03742[Linux 6.8.0-38]
    * Origin: Space Junk! BBS (21:4/158)
  • From Blue White@21:4/134 to J0hnny A1pha on Fri Jul 26 09:09:20 2024
    [noddy]
    seclevel = 10
    session secret = secretPW

    Thanks, I shall try that!



    --- Talisman v0.53-dev (Linux/armv7l)
    * Origin: possumso.fsxnet.nz * telnet:24/ssh:2122/ftelnet:80 (21:4/134)
  • From Blue White@21:4/134 to J0hnny A1pha on Sat Jul 27 08:15:14 2024
    I had this in my talisman.ini:

    [noddy]
    seclevel = 10
    session secret = secretPW


    That worked. Thanks!!!

    $$

    --- Noddy git-4716e54
    * Origin: possumso.fsxnet.nz * telnet:24/ssh:2122/ftelnet:80 (21:4/134)