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

Community

    • All categories
    Load new posts
Log in to post
  • Reinier PupoR

    How to use websocket notifications from external app?

    Scheduled Pinned Locked Moved General Discussion notifications socket.io websockets
    0 Votes
    6 Posts
    614 Views
    D

    @pitaj said in How to use websocket notifications from external app?:

    @reinier-pupo okay so you want to listen for notifications.

    You essentially want something like this:
    https://github.com/NodeBB/NodeBB/blob/b46d2f93e64e6546fb295d396b830dcab9f0cbbd/employee monitoring software/public/src/client/header/notifications.js#L25

    Yeah, thank you!! Exactly what i was looking for!

  • scottalanmillerS

    Fresh 1.10.2 Install Getting Errors

    Scheduled Pinned Locked Moved Technical Support 1.10.2 socket.io
    0 Votes
    5 Posts
    427 Views
    scottalanmillerS

    Yup, ignore me. I had two configs open and was looking at the wrong one.

  • DoppyD

    How communicate server with client[NodeBB plugin]

    Scheduled Pinned Locked Moved NodeBB Plugins plugin socket.io socket websocket websockets
    0 Votes
    4 Posts
    2328 Views
    yariplusY

    what is the value of uid

  • NicolasN

    Flooding: socket

    Scheduled Pinned Locked Moved Bug Reports socket.io
    0 Votes
    4 Posts
    1589 Views
    NicolasN

    https://github.com/NodeBB/NodeBB/issues/3793

  • A

    socket.io Bad Gateway - fix?

    Scheduled Pinned Locked Moved Technical Support nginx socket.io 502 bad gateway cloudflare
    0 Votes
    7 Posts
    4097 Views
    S

    Try removing the SPDY support and see if it works. I had to disable SPDY with SSL to get it to towork.

  • Y

    Apache 2.4 proxy for NodeBB has socket.io problems

    Scheduled Pinned Locked Moved Unsolved Technical Support apache socket.io websockets proxy
    0 Votes
    1 Posts
    4407 Views
    Y

    Hi folks,

    I used the 2.4 proxy instructions from the docs. But it's not working correctly for me. I assume because I want the proxy to only work on '/community'.

    Here's my current setup:

    I have a proxy here: https://openrct2.com/community (HTTPS) NodeBB actually runs on: http://delia.limetric.com:4567/community/ (just normal HTTP)

    The proxy itself works great, but socket.io keeps complaining about not being able to connect using websockets: "WebSocket connection to 'wss://openrct2.com/community/socket.io/?EIO=3&transport=websocket&sid=OORktGqFRszzHMQNAAWr' failed: Error during WebSocket handshake: Unexpected response code: 400"

    Here's a pastebin to my Apache config: http://pastebin.com/UMMadXVR

    What should I change to my config to make websockets work correctly?

    Thanks in advance.

  • wzrdtalesW

    v6 long polling doesn't work anymore

    Scheduled Pinned Locked Moved Bug Reports bug polling socket.io
    1 Votes
    2 Posts
    1852 Views
    barisB

    Resolved in https://github.com/NodeBB/NodeBB/issues/2554

  • barisB

    websocketAddress setting change

    Scheduled Pinned Locked Moved NodeBB Development 0.6.0 socket.io
    0 Votes
    1 Posts
    1323 Views
    barisB

    This was a setting under admin>settings>sockets it has been moved to config.json.

    Old name was websocketAddress now its just address under the socket.io object.

    Sample config.json

    { "url":"yourforum.com", "socket.io": { "address": "", //or url to socket.io server "transports": ["websocket", "polling"] } }

    Relevant commit: https://github.com/NodeBB/NodeBB/commit/14e46a87a63f5e983a58a73109710027297924f3

    The reason is if you put a invalid value here sockets will not connect and since the admin page uses sockets to save settings you can't change it back. 😆

  • src1988S

    Issues with Nodebb-Widgets-Essentials

    Scheduled Pinned Locked Moved NodeBB Plugins socket.io widgets
    0 Votes
    2 Posts
    1690 Views
    psychobunnyP

    Hey @src1988, is this the same issue that you're having here? https://github.com/NodeBB/NodeBB/issues/1878

    If yes, then I think it's because you're running an incompatible version of widget-essentials with NodeBB. Let us know on that GitHub thread if you're still running into this problem 🙂

  • P

    Error on Startup(socket.io and nodebb-plugin-finder)

    Scheduled Pinned Locked Moved Bug Reports nodebb-plugin-finder socket.io
    0 Votes
    6 Posts
    2522 Views
    BriB

    If the socket.io/tools.js module was deleted, then this won't work since the plugin was depending on that. I saw that there's a plugins.js module in the same place now, so i can amend it to user that instead. However I've just pulled the latest and can't get it to connect to redis, starting a separate thread...

  • julianJ

    Socket.io v1.0 released!

    Scheduled Pinned Locked Moved NodeBB Development socket.io nodebb
    4 Votes
    10 Posts
    5499 Views
    TannerT

    Sounds like great news, looking forward to seeing NodeBB bloom using it 🙂

  • 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
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
  • Login

  • Don't have an account? Register

  • Login or register to search.