Giter Site home page Giter Site logo

Comments (11)

jesuslg123 avatar jesuslg123 commented on August 9, 2024 1

Try running your node.js app with PM2, I had experience this issue but since using PM2, never happen it again... Not sure why.

from slack-bot-api.

mishk0 avatar mishk0 commented on August 9, 2024

Does it throw any errors?

from slack-bot-api.

imjoshdean avatar imjoshdean commented on August 9, 2024

I've also noticed this happen. I don't get any errors, myself.

from slack-bot-api.

lnmunhoz avatar lnmunhoz commented on August 9, 2024

@mishk0 No errors. It just stop listening to channels events. It looks like the socket closes or something like that.

from slack-bot-api.

yourfavorite avatar yourfavorite commented on August 9, 2024

I am experiencing this issue and I am using PM2. I don't seem to find any errors. The bot continues to post messages but does not respond to any messages posted by users. For me I've noticed it after my app has been running for around 40-48 hours though it may happen sooner than this. Is there a good way to get around this issue?

from slack-bot-api.

haidoan avatar haidoan commented on August 9, 2024

I had same issue and fixed it by

  • install forever in server : npm install forever
  • start app : forever start index.js
  • list app run by forever : forever list
  • kill process : kill -9 XXX (xxx is forever id)
    hope it helps.

from slack-bot-api.

lnmunhoz avatar lnmunhoz commented on August 9, 2024

I solved this issue by switching my server provider. It was hosted on modulus before and now its on heroku and since it never goes down again.

from slack-bot-api.

yourfavorite avatar yourfavorite commented on August 9, 2024

I'm still having this issue on digital ocean. I don't know that it's unique to hosting providers.

from slack-bot-api.

toshiSat avatar toshiSat commented on August 9, 2024

I'm having this issue on heroku

from slack-bot-api.

pchodak avatar pchodak commented on August 9, 2024

I guess there is missing try catch somewhere
node_modules/ws/lib/WebSocket.js:219 else throw new Error('not opened');

from slack-bot-api.

dorman99 avatar dorman99 commented on August 9, 2024

still having this kind of issue

from slack-bot-api.

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.