@a_5mith said:
@So-Confused Don't use the dev version, it's not guaranteed as stable.
Follow this guide for Ubuntu. It's more up to date. Include v0.6.x in your git pull as per the instructions.
Awesome, I got it set up. Thanks!
Hi there !
I've some problems with a fresh install.
I hosted it on a debian 7.4 uptodate, nodejs 0.10.21 & fresh github get (installed yesteraday).
I've 2 interfaces : eth0 @ one ipv4 and eth0:0 @ a second ipv4.
I'm using the second interface with it specific ipv4.
http://forum.t2si.toloza.fr:4567/
I cannot cleary naviage through the forum, i've got some errors like "connection lost to forum.t2si"..
My conf :
{
"base_url": "forum.t2si.toloza.fr",
"port": "4567",
"use_port": true,
"secret": "xxx",
"bind_address": "46.105.47.185",
"database": "redis",
"redis": {
"host": "127.0.0.1",
"port": "6379",
"password": "xxx",
"database": "0"
},
"bcrypt_rounds": 12,
"upload_path": "/public/uploads",
"relative_path": ""
}
XaT
Well. After a reboot of my server i relaunch nodebb and...
In the log the server is stuck in some weird loop, start.. start... start... http://pastebin.com/YEsKtfEq
I've got this problem this morning i killed all related pid and i restarted normally the nodebb, now it don't work..
CPU @ 100%
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
www 5789 0.0 0.0 22172 2272 pts/0 S 11:24 0:00 bash
www 9311 0.1 0.0 636188 12700 ? Ssl 11:30 0:00 /usr/bin/nodejs /home/www/toloza.fr/t2si.toloza.fr/nodebb/loader -d start
www 9933 95.6 0.5 645456 87204 ? Rl 11:30 0:02 /usr/bin/nodejs minifier.js
www 9945 83.5 0.5 640336 82268 ? Rl 11:30 0:01 /usr/bin/nodejs minifier.js
www 9948 93.0 0.4 734516 77192 ? Rl 11:30 0:00 /usr/bin/nodejs ./app -d start
www 9957 43.0 0.3 622856 54404 ? Rl 11:30 0:00 /usr/bin/nodejs minifier.js
WTF
XaT
Well, i solved the main problem with switching from eth0:0 to eth0 with my first ipv4.
At home i can access normaly the forum on ip1:4567 but i've the same problem than yesterday for the proxyfi thing.
I've tested lighttpd & nginx for proxyfi... don't work.
I can access to the main page but i can't do anything.. It said "connection lose"..
Have you any idea ??
XaT
I can browse your website fine.
Thank you.
Well my problem now is the fucking proxy @ work
edit: Erm.. Why i can access this forum nice and can't use mine correctly ?! I don't get it.
edit2 : Can you navigate through the forum ? I can access main page too. But can't use functionnalities.. Like connect, post, see a thread, etc
XaT
Well, I just did the whole 9 yards on your site - loaded the main, category and thread pages, and even created an account and replied to a topic. All from Chromium on Linux.
Edit: I up-voted the topic that I replied to
Thanks !
I got your messages.
I can't understand. Now i can access my forum. But all others computers @ work can't ! WTF >_<
XaT
My conf@nginx
server {
listen 80;
server_name t2si.toloza.fr;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
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";
}
}
So the problem is clearly not with your site, but something to do with your work computers. Perhaps computers at your job are being blocked from accessing certain sites.
This is strange. Why for 10mn i got access to my forum and now it's gone...
And WHY i can access to this forum and not to mine !!
XaT
Possibly your ISP is blocking websocket connections from your country, but not the US?
Hmmm, weird. Why block "country websocket" and let open for US ? :d
I'll try to find a french NodeBB forum.
Do you use nginx for this forum ? Can i get the conf ?
XaT
@XaT We use the same configuration as that posted on our wiki
Since you workplace is the only place it does not work, I doubt that WebSocket is blocked in your country. Try WebSocket Test from a browser at work and see what you get.
Thank for the URL! Why i didn't think about it before...
Yeah Websocket is not supported @ work, might be an old proxy running.
I found why this forum working and not mine : https.
So i've to host my forum on https@ssl
XaT