You might want to look at some of the plugins listed in this topic to see if any do what you want.
Any swedish members here?
Looking for swedish community members, say hello. Here is my work in progress https://www.nodebb.se
tommyla last edited by
am close, am norwegian
Great that works to Feel free to try out my sso-facebook. Don't know if it works yet Will add twitter and google sso later.
"Jag tror du förstår min svenska bättre än jag förstår norska hehe"
The ssl cert will be fully activated in a few hours. Always pain in the ass with new sites hehe
Cool if you want to establish a Swedish support site for NodeBB you have my blessings at least, but you would probably have to follow some rules (I am unsure, but obvious stuff, since you're using our brand name in the domain.. Defer to @julian for this)
That said, there is a similar Chinese support site and we do link to them, so once your community grows we should link to you as well
Nice, I hope that the rules is easy to follow The most important thing is that we reach out with this cool project! What is the link to the "Chinese support site" ?
@julian Whats the rules
I will be running a stable version of nodebb. BTW: The ssl cert for the site is complete, yeay
lenovouser last edited by lenovouser
@Mikael There is a problem with Cloudflare-SSL and NodeBB because Cloudflare blocks websockets when using a free plan right now. This might change in the future, but right now you'd have to buy a certificate for the (sub-) domain you'd want to run NodeBB on. You can see that the websockets are not working if you do CTRL+Shift+I and then go to the "console" tab. There you'll see something like this every ~ 0,8 seconds:
WebSocket connection to 'wss://www.nodebb.se/socket.io/?EIO=3&transport=websocket&sid=`xxxxxxxxxxxxxxxxxxxx' failed: Error during WebSocket handshake: Unexpected response code: 400
lenovouser last edited by
Ohhh, is there any workaround for this issue without buying a cert?
@ApfelUser What will break if Cloudflare blocks websockets? The forum seem to work anyway
lenovouser last edited by lenovouser
@Mikael I don't know if that has changed by now, but I tried using Cloudflare SSL about ~2 months ago & people couldn't post, chat and sometimes not even register. So I ended up buying a cheap SSL certificate. If you want to use SSL there is no workaround. Of course you could disable SSL & the forum would run on HTTP then. But I think that is not what you want. You can get cheap SSL at e.g. Namecheap for around €9.00. Or you wait for Let's Encrypt.
It sems to work anyway. @psychobunny is it possible to disable websockets in nodebb and run it without
Errors I get
GET https://forum.tummenur.nu/socket.io/?EIO=3&transport=polling&t=1428077777756-2275&sid=CrDISu9EFC2oS48TAAMS 502 (Bad Gateway)
nodebb.min.js?ad026552:9 POST https://forum.tummenur.nu/socket.io/?EIO=3&transport=polling&t=1428077788331-2276&sid=CrDISu9EFC2oS48TAAMS 400 (Bad Request)
nodebb.min.js?ad026552:9 WebSocket connection to 'wss://forum.tummenur.nu/socket.io/?EIO=3&transport=websocket&sid=N8iLj4YeH4k7aibVAAMT' failed: Error during WebSocket handshake: Unexpected response code: 400
nodebb.min.js?ad026552:9 GET https://forum.tummenur.nu/socket.io/?EIO=3&transport=polling&t=1428077789697-2283&sid=N8iLj4YeH4k7aibVAAMT 502 (Bad Gateway)
nodebb.min.js?ad026552:9 POST https://forum.tummenur.nu/socket.io/?EIO=3&transport=polling&t=1428077800325-2284&sid=N8iLj4YeH4k7aibVAAMT 400 (Bad Request)
Supposing your site is example.com and the subdomain you used for websocket is websockets.example.com:
Go into the admin control panel on your NodeBB site, then go to Settings > Advanced and ensure that underneath the "Set domain for session cookie" you've written .example.com (note the first dot). Click "Save Changes", clear your cookies and log in again. That's what solved it for me.
Is this the best solution for this? Does anyone have a nginx configfile with this setup? I guess that both vhost should go to localhost:port <-- is it that easy ?
- should i set "Set domain for session cookie" to api.nodebb.se ?
- Make 2 virtual host that point to the same nodebb server, one is https activated thru CF and the other id off
Have i missed somthing here ? Is websockets only used for sessiondata?
Its working now but the only way to get it to work is to buy a cert Or get one for free here https://www.startssl.com/ (Thats what i did )
Crap, I hade som ssl issues but now they should be solved. Almost everything fixed but the mail with SMTP ssl