Git Product home page Git Product logo

Comments (6)

selfcontained avatar selfcontained commented on August 21, 2024

Looks like this is coming from the ws module. Are you starting an RTM connection somewhere perhaps? The only things I can think of that use websockets are the smallwins/slack client that slapp depends on (doesn't actually use the ws / rtm though) and a beepboop-slapp-presence-polyfill module.

from bolt-js.

MiroValchev avatar MiroValchev commented on August 21, 2024

Oh dear. Forgot to mention it. I do connect to all 2000+ teams - just to make the bot look online. I had so many issues using BotKit with that many teams and that's why I moved to Slapp.
So now I wonder how to fix this issue.

from bolt-js.

mbrevoort avatar mbrevoort commented on August 21, 2024

Hey Miro,

So that seems to indicate a 503 response from Slack. There's probably a way to handle that error on the stream so that it doesn't throw and you and reconnect that RTM connection.

In other news Slack updated their platform roadmap, and I've been told an endpoint to make Events API bots appear online is imminent. We also waste so many resources connecting to the RTM just for the sake of appearing online.

from bolt-js.

MiroValchev avatar MiroValchev commented on August 21, 2024

Thanks for the feedback! Heard the same thing from a Botkit team member - I mean about the Slack Events roadmap. Hope they make it soon.

from bolt-js.

curtisallen avatar curtisallen commented on August 21, 2024

@MiroValchev Presence for Event API integrations has been released https://twitter.com/SlackAPI/status/812376744883720196?lang=en

from bolt-js.

selfcontained avatar selfcontained commented on August 21, 2024

Closing this out thanks to the presence option for bot users Slack released.

from bolt-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.