It looks like your login session is no longer active, or no longer matches with the server. Please refresh this page.



  • Hello. I install NodeBB on Debian 9 with nginx/1.10.3. NodeJS version - v12.18.2. NPM version - 6.14.5. MongoDB version - v4.0.19. NodeBB version - 1.13.x.

    After logging in, an error pops up:

    It looks like your login session is no longer active, or no longer matches with the server. Please refresh this page.
    

    And authorization flies 😞 .
    In NGINX error log:

    2020/07/12 14:56:28 [notice] 8942#8942: signal process started
    2020/07/12 15:06:49 [alert] 8966#8966: *593 open socket #16 left in connection 25
    2020/07/12 15:06:49 [alert] 8966#8966: *323 open socket #23 left in connection 88
    2020/07/12 15:06:49 [alert] 8966#8966: *324 open socket #25 left in connection 90
    2020/07/12 15:06:49 [alert] 8966#8966: *594 open socket #17 left in connection 99
    2020/07/12 15:06:49 [alert] 8966#8966: aborting
    2020/07/12 15:10:28 [alert] 9086#9086: *6 open socket #13 left in connection 6
    2020/07/12 15:10:28 [alert] 9086#9086: *7 open socket #14 left in connection 7
    2020/07/12 15:10:28 [alert] 9086#9086: aborting
    2020/07/12 15:16:34 [alert] 9151#9151: *7 open socket #14 left in connection 7
    2020/07/12 15:16:34 [alert] 9151#9151: *8 open socket #15 left in connection 8
    2020/07/12 15:16:34 [alert] 9151#9151: aborting
    2020/07/12 15:23:52 [alert] 9202#9202: *137 open socket #16 left in connection 6
    2020/07/12 15:23:52 [alert] 9202#9202: *138 open socket #17 left in connection 25
    2020/07/12 15:23:52 [alert] 9202#9202: aborting
    2020/07/12 15:26:14 [alert] 9239#9239: *6 open socket #13 left in connection 6
    2020/07/12 15:26:14 [alert] 9239#9239: *7 open socket #14 left in connection 7
    2020/07/12 15:26:14 [alert] 9239#9239: aborting
    

    config.json:

    {
        "url": "https://mydomain.guru",
        "secret": "secretkeyhere",
        "database": "mongo",
        "mongo": {
            "host": "127.0.0.1",
            "port": "27017",
            "username": "nodebb",
            "password": "mypasswordhere",
            "database": "nodebb",
            "uri": ""
        }
    }
    

    How to fix this error?


  • Global Moderator

    What's your nginx config?


  • Community Rep

    As Pita mentioned... this is an Nginx configuration issue, so it is the Nginx config rather than the NodeBB config that we'll need to see.


Log in to reply
 

Suggested Topics

| |