New Install, Logins And Registrations Failing
-
About the most basic config file possible....
# cat config.json { "url": "https://url.of.my.site.com", "secret": "234534-35656-347-345324-6-67", "database": "mongo", "mongo": { "host": "127.0.0.1", "port": "27017", "username": "sdfg", "password": "sdfg", "database": "dbnamehere", "uri": "", "socket.io": { "origins": "*:*" } }, "port": "4568" }
-
And here is the Nginx reverse proxy config...
server { listen 80; client_max_body_size 80M; server_name my.server.url.com; location / { proxy_pass http://ip-of-nodebb-server:4568/; proxy_redirect off; 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; # Socket.IO Support proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; } }
Turned off SSL while testing. SSL is still handled by CloudFlare in front of this.
-
Can't register new users
@BAKA I am assuming you are on master branch, can you try latest and let me know if it works now. https://github.com/NodeBB/NodeBB/commit/5a0c7c1497ed2de84ad...
NodeBB Community (community.nodebb.org)
-
@PitaJ said in New Install, Logins And Registrations Failing:
Can't register new users
@BAKA I am assuming you are on master branch, can you try latest and let me know if it works now. https://github.com/NodeBB/NodeBB/commit/5a0c7c1497ed2de84ad...
NodeBB Community (community.nodebb.org)
Doesn't appear to work for me. I updated but it said that I was already up to date. I restarted, but nothing. I verified that the fixed line was there in the headers.js file and it was.
-
What is odd, is that now instead of logging me out after one click, it is more like three. Weird.
-
Still failing, any other leads?
-
@julian said in New Install, Logins And Registrations Failing:
Are you on 1.13.2 stable, or latest master? I think latest master is unstable with registrations at the moment, but 1.13.2 as released ought to be ok...
I was on 1.13.x, but switched to Master branch. Same result.
-
I updated to master again today and got some new files, and now I get one or two more clicks before the registration fails. But the basics remain the same.
-
A few pages work for one or two clicks before it kicks me out. The admin page never works.
-
Have you tried on different computers / browsers?
-
@PitaJ said in New Install, Logins And Registrations Failing:
Have you tried on different computers / browsers?
Just got it working. Or seems to be. Been stable for a bit now and the admin page is back.
Had to replace the URL of the site, with localhost:localport