Error registering New Account, Connection has been lost
-
@h7 Can you provide your nginx config and nodebb config.json?
-
nginx.conf:
server { server_name community.h7.org; listen 5.45.114.72:80; listen [2a03:f480:1:1a::27]:80; listen 80; gzip on; gzip_min_length 1024; gzip_proxied expired no-cache no-store private auth; gzip_types text/css image/x-ico application/pdf image/jpeg image/png image/gif application/javascript application/x-javascript application/x-pointplus; set $root_path /var/www/h7org/data/www/community.h7.org; root $root_path; disable_symlinks if_not_owner from=$root_path; location / { #index index.html; #try_files $uri $uri/ /index.php?$args; 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"; } location ~ \.php$ { } #location ~* ^.+\.(jpg|jpeg|gif|png|svg|js|css|mp3|ogg|mpeg|avi|zip|gz|bz2|rar|swf|ico)$ { # try_files $uri $uri/ @fallback; # expires 30d; #} location @fallback { } include /etc/nginx/fastpanel2-sites/h7org/community.h7.org.includes; include /etc/nginx/fastpanel2-includes/*.conf; error_log /var/www/h7org/data/logs/community.h7.org-frontend.error.log; access_log /var/www/h7org/data/logs/community.h7.org-frontend.access.log; }
config.json:
{ "url": "http://community.h7.org", "secret": "***", "database": "redis", "redis": { "host": "127.0.0.1", "port": "6379", "password": "***", "database": "0" } }
-
Wrong nginx config. I need the site config with the reverse proxy settings etc.
-
Does
./nodebb stop
then./nodebb dev
stop those errors? -
@PitaJ
./nodebb stop
gives response: NodeBB is already stopped../nodebb dev
gives the errors:7/10 03:46:05 [20930] - error: Error: listen EADDRINUSE 0.0.0.0:4567 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at Server._listen2 (net.js:1262:14) at listen (net.js:1298:10) at net.js:1408:9 at _combinedTickCallback (internal/process/next_tick.js:83:11) at process._tickCallback (internal/process/next_tick.js:104:9) 7/10 03:46:05 [20930] - error: NodeBB address in use, exiting... 3 restarts in 10 seconds, most likely an error on startup. Halting.
-
How did you start NodeBB?
-
@pitaj started with
./nodebb start
now just checked with./nodebb restart
and while community.h7.org is accessible, I get the message NodeBB could not be restarted, as a running instance could not be found../nodebb log
results are:7/10 03:48:59 [21010] - error: Error: listen EADDRINUSE 0.0.0.0:4567 at Object.exports._errnoException (util.js:1020:11) at exports._exceptionWithHostPort (util.js:1043:20) at Server._listen2 (net.js:1262:14) at listen (net.js:1298:10) at net.js:1408:9 at _combinedTickCallback (internal/process/next_tick.js:83:11) at process._tickCallback (internal/process/next_tick.js:104:9) 7/10 03:48:59 [21010] - error: NodeBB address in use, exiting... 3 restarts in 10 seconds, most likely an error on startup. Halting.
Copyright © 2024 NodeBB | Contributors