• HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    Get in touch
    Get in touch
    Menu
    • HOME
    • PRODUCT
    • PRICING
    • ABOUT
    • COMMUNITY
    • Sign in
    • Start free trial
    • Get in touch
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups
    • Documentation
      • Home
      • Read API
      • Write API
      • Plugin Development
    1. Home
    2. Tags
    3. socket.io
    Log in to post
    • All categories
    • Reinier Pupo

      How to use websocket notifications from external app?
      General Discussion • notifications socket.io websockets • • Reinier Pupo

      6
      0
      Votes
      6
      Posts
      324
      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!

    • scottalanmiller

      Fresh 1.10.2 Install Getting Errors
      Technical Support • 1.10.2 socket.io • • scottalanmiller

      5
      0
      Votes
      5
      Posts
      266
      Views

      scottalanmiller

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

    • Doppy

      How communicate server with client[NodeBB plugin]
      NodeBB Plugins • plugin socket.io socket websocket websockets • • Doppy

      4
      0
      Votes
      4
      Posts
      2183
      Views

      yariplus

      what is the value of uid

    • Nicolas

      Flooding: socket
      Bug Reports • socket.io • • Nicolas

      4
      0
      Votes
      4
      Posts
      1472
      Views

      Nicolas

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

      NicolasSiver created this issue in NodeBB/NodeBB closed Topics: too many emits #3793
    • A

      socket.io Bad Gateway - fix?
      Technical Support • nginx socket.io 502 bad gateway cloudflare • • Andi

      7
      0
      Votes
      7
      Posts
      3838
      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

      Unsolved Apache 2.4 proxy for NodeBB has socket.io problems
      Technical Support • apache socket.io websockets proxy • • Ywat

      1
      0
      Votes
      1
      Posts
      4303
      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.

    • wzrdtales

      v6 long polling doesn't work anymore
      Bug Reports • bug polling socket.io • • wzrdtales

      2
      1
      Votes
      2
      Posts
      1749
      Views

      baris

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

      wzrdtales created this issue in NodeBB/NodeBB closed v6 long polling doesn't work anymore #2554
    • baris

      websocketAddress setting change
      NodeBB Development • 0.6.0 socket.io • • <baris>

      1
      0
      Votes
      1
      Posts
      1243
      Views

      baris

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

      0 barisusakli committed to NodeBB/NodeBB closes #2529
    • src1988

      Issues with Nodebb-Widgets-Essentials
      NodeBB Plugins • socket.io widgets • • src1988

      2
      0
      Votes
      2
      Posts
      1585
      Views

      psychobunny

      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 🙂

      src1988 created this issue in NodeBB/NodeBB closed When Site loads, I get a socket.io error #1878
    • P

      Error on Startup(socket.io and nodebb-plugin-finder)
      Bug Reports • nodebb-plugin-finder socket.io • • Punkbob

      6
      0
      Votes
      6
      Posts
      2378
      Views

      Bri

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

    • julian

      Socket.io v1.0 released!
      NodeBB Development • socket.io nodebb • • Julian Lam

      10
      4
      Votes
      10
      Posts
      5319
      Views

      Tanner

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

    Get Started

    • Product
    • Pricing

    Resources

    • Demo Site
    • Answers
    • Docs
    • Bug Bounty

    Company

    • About
    • Blog
    • Contact
    Start Free Trial
    Github Facebook Instagram Twitter
    © 2014 – 2022 NodeBB, Inc. — Made in Canada.
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact
    Menu
    • Terms
    • Privacy
    • GDPR
    • DMCA
    • Contact