• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Any swedish members here?

Scheduled Pinned Locked Moved General Discussion
13 Posts 4 Posters 3.0k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by
    #1

    Hellu!

    Looking for swedish community members, say hello. Here is my work in progress https://www.nodebb.se

    1 Reply Last reply
    0
  • tommylaT Offline
    tommylaT Offline
    tommyla
    wrote on last edited by
    #2

    am close, am norwegian 🙂

    1 Reply Last reply
    1
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by Jenkler
    #3

    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

    1 Reply Last reply
    0
  • psychobunnyP Offline
    psychobunnyP Offline
    psychobunny
    wrote on last edited by
    #4

    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 🙂

    1 Reply Last reply
    0
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by Jenkler
    #5

    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

    1 Reply Last reply
    0
  • lenovouserL Offline
    lenovouserL Offline
    lenovouser
    wrote on last edited by lenovouser
    #6

    @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
    
    1 Reply Last reply
    0
  • lenovouserL Offline
    lenovouserL Offline
    lenovouser
    wrote on last edited by
    #7

    Some more info:

    Cloudflare Blog Post

    Plenty of issue posts at this forum:

    • #1 Problem with websocket connection
    • #2 NodeBB behind Cloudflare
    • #3 Permissions issue
    • #4 Clouflare alternative for e.g. DDOS protection
    1 Reply Last reply
    0
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by
    #8

    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 🙂

    1 Reply Last reply
    0
  • lenovouserL Offline
    lenovouserL Offline
    lenovouser
    wrote on last edited by lenovouser
    #9

    @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.

    1 Reply Last reply
    0
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by
    #10

    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)

    1 Reply Last reply
    0
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by Jenkler
    #11

    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 ?

    In my example i have the forum on https://www.nodebb.se and want websockets on http://api.nodebb.se

    1. should i set "Set domain for session cookie" to api.nodebb.se ?
    2. 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?

    1 Reply Last reply
    0
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by
    #12

    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 ) 🙂

    1 Reply Last reply
    0
  • JenklerJ Offline
    JenklerJ Offline
    Mikael Jenkler Swedes
    wrote on last edited by
    #13

    Crap, I hade som ssl issues but now they should be solved. Almost everything fixed but the mail with SMTP ssl 🙂

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development