Can´t login

Technical Support
  • Hey guys, im new on NodeBB. Its seems i installed sucessfully, tho i can´t login with admins credentials. Also i created a new account , i could access without any issues but when i logged out and try again, i could not login too. Hope any help 😞

    0_1541826020254_ahi.jpg

    I read many topics about change the config file, so here is my info (On digital ocean, i don´t have a domain yet):

    config.json:

    {
    "url": "http://206.189.204.4",
    "secret": "..................",
    "database": "mongo",
    "mongo": {
    "host": "127.0.0.1",
    "port": "4567",
    "password": "?????",
    "database": "???"
    }
    

    nginx configuration:

    server {
        listen 80;
    
        server_name 206.189.204.4;
    
        location / {
            proxy_set_header X-Real-IP $remote_addr;
            proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
            proxy_set_header X-Forwarded-Proto $scheme;
            proxy_set_header Host $http_host;
            proxy_set_header X-NginX-Proxy true;
    
            proxy_pass http://127.0.0.1:4567;
            proxy_redirect off;
    
            # Socket.IO Support
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection "upgrade";
        }
    }
    

    ./nodebb log:
    0_1541818322025_error.jpg

  • Please change

    proxy_pass http://206.189.204.4:4567;
    

    into

    proxy_pass http://127.0.0.1:4567;
    
  • My fault, many thanks tho it still having the same issue unfortunately 😞

  • On my first installation i do the same failure 😉

  • http://206.189.204.4 -> Is this how you're accessing your NodeBB?

  • yep im using the ip to access, i have a domain already but im using it for the original site (testing to move the site to nodeBB 😉 )


Suggested Topics