• 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

Error during WebSocket handshake

Scheduled Pinned Locked Moved Technical Support
13 Posts 4 Posters 6.2k 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.
  • P Offline
    P Offline
    Popatop15
    replied to julian on last edited by
    #4

    @julian Will NodeBB not work if I use Nginx as a reverse proxy?

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #5

    Yes, it will work fine.

    1 Reply Last reply
    0
  • Y Offline
    Y Offline
    Yokokoyo
    replied to julian on last edited by Yokokoyo
    #6

    @julian I'm using CloudFlare indeed.

    If I'm not wrong, we're using apache2 as a proxy.

    PS: sorry for the late answer.

    julianJ 1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    replied to Yokokoyo on last edited by
    #7

    @Yokokoyo Not 100% sure if CloudFlare proxy or rocket loader works with NodeBB. Please disable it (grey clouds) and try to see if this issue is resolved?

    JasperNLJ 1 Reply Last reply
    0
  • JasperNLJ Offline
    JasperNLJ Offline
    JasperNL Gamers
    replied to julian on last edited by
    #8

    @julian said in Error during WebSocket handshake:

    @Yokokoyo Not 100% sure if CloudFlare proxy or rocket loader works with NodeBB. Please disable it (grey clouds) and try to see if this issue is resolved?

    I can stand for it that the cloudflare websocket proxy works fine with NodeBB. I'm using the free plan and it states that the volume of concurrent connections is low, but it didn't run in troubles.

    However, disabling cloudflare protection by enabling the grey cloud is a great way to troubleshoot 😛

    1 Reply Last reply
    1
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #9

    😛 you know it.

    I've heard they support it too, though need more empirical evidence before I change my stance 😄

    1 Reply Last reply
    0
  • Y Offline
    Y Offline
    Yokokoyo
    wrote on last edited by
    #10

    I've tryed to connect to my direct IP (so without cloudflare) and I've still got the same error.

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #11

    In that case, I would suspect something in between causing interruptions with the websocket connection (e.g. ISP, firewall, etc). Sometimes setting up SSL helps, but no guarantees.

    Without websockets, NodeBB will drop down to xhr-polling, which is fine functionality-wise, if a little slower.

    1 Reply Last reply
    0
  • JasperNLJ Offline
    JasperNLJ Offline
    JasperNL Gamers
    wrote on last edited by JasperNL
    #12

    You said you use Apache2 as a proxy. When setting it up: did you follow the documentation from here? I suspect that Websocket upgrade-requests are not correctly handled. In that case, no websocket-connection could be set up and thus the handshake will fail.

    1 Reply Last reply
    0
  • Y Offline
    Y Offline
    Yokokoyo
    wrote on last edited by
    #13

    I'm quite sure I did, but juste in case I will check again.

    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