After Update to nodebb 1.4.5 Login Problems

Technical Support
  • Hey,
    I have a problem after updating my forum to version 1.4.5 (from 1.4.2)
    The Problem is user cant login to there account.

    nodebb LOG:
    17/3 12:47:48 [21825] - warn: [deprecated] Accessing stylesheet.css from / is deprecated. Use /assets/stylesheet.css to access this file.
    17/3 12:47:48 [21825] - warn: [deprecated] Accessing nodebb.min.js from / is deprecated. Use /assets/nodebb.min.js to access this file.
    17/3 16:22:13 [21825] - warn: [deprecated] Accessing stylesheet.css from / is deprecated. Use /assets/stylesheet.css to access this file.
    17/3 16:22:13 [21825] - warn: [deprecated] Accessing nodebb.min.js from / is deprecated. Use /assets/nodebb.min.js to access this file.
    17/3 16:24:33 [21825] - warn: [deprecated] Accessing vendor/fontawesome/fonts/fontawesome-webfont.woff2 from / is deprecated. Use /assets/vendor/fontawesome/fonts/fontawesome-webfont.woff2 to access this file.
    17/3 16:24:58 [21825] - error: /login
    invalid csrf token

    Chrome DEV Log: WebSocket connection to 'wss://showgaming.de/socket.io/?EIO=3&transport=websocket&sid=theid....' failed: Error during WebSocket handshake: Unexpected response code: 404

    When you are already logged in evrything works fine, else comes a session expired invalide csrf token by login.
    I hope someone can help me with that problem,
    Have a nice day,
    Ezamik


Suggested Topics


  • 1 Votes
    1 Posts
    118 Views

    1st of all i'm new to Nginx, and this is the 1st time i'm really setting up NodeBB. So pls forgive me when i'm asking basic dummy questions.

    Basically followed this
    https://docs.nodebb.org/installing/os/ubuntu/
    using Ubunt 20. So far so good with the installation.

    The folder structure looks like this in the server:

    /home/user/abcde/index.html /root/nodebb (This might be a mistake but ...)

    Eventually index.html will have a hyperlink which links to the NodeBB forum.

    Right now the /etc/nginx/nginx.conf has a block like this, and index.html does load fine in browser

    server { server_name mysite.com; location / { root /home/user/abcde; } }

    My question is: how to modify nginx.conf so it can load the NodeBB as well ?
    Again the final goal is ppl can access NodeBB from its link from index.html.

    Thanks very much for your help !

  • 0 Votes
    1 Posts
    184 Views

    How to solve this problem during registration?

    The "password" argument must be one of type string, Buffer, TypedArray, or DataView. Received type undefined

  • 0 Votes
    3 Posts
    843 Views

    @pummelchen Thanks for the response.
    Ok for the solution, but If that's true, it's still strange behavior. My forum is in a test period so indeed it doesn't have much traffic, but I come by at least once a day to see just how frequent the error is. It means that if we go on vacation and nobody visits our forum for a few days, when we get back all the owners of a forum under nodeBB have chances to see this error? That's annoying.

  • 0 Votes
    4 Posts
    2k Views

    Thanks @SimonQ! I'm sure that will be very helpful 🙂

  • Stuck on the process of starting NodeBB

    Unsolved Technical Support
    8
    0 Votes
    8 Posts
    2k Views

    Doubtful -- OpenShift issues might not get properly addressed there. Stick to this topic 🙂