Comments (11)
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.
Does it throw any errors?
from slack-bot-api.
I've also noticed this happen. I don't get any errors, myself.
from slack-bot-api.
@mishk0 No errors. It just stop listening to channels events. It looks like the socket closes or something like that.
from slack-bot-api.
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.
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.
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.
I'm still having this issue on digital ocean. I don't know that it's unique to hosting providers.
from slack-bot-api.
I'm having this issue on heroku
from slack-bot-api.
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.
still having this kind of issue
from slack-bot-api.
Related Issues (20)
- postMessageToUser does not Work HOT 1
- Promise returns undefined
- [Node 12] [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
- How to prevent the bot auto disconnect? HOT 15
- Sorry if I have asked a stupid question: const EventEmitter = require('events'); vs var EventEmitter = require('events').EventEmitter; HOT 1
- Setting bot's profile image HOT 1
- How to start a thread and send message under that thread?
- Send an image? HOT 1
- Tokens created with Slack’s new granular permissions generate a `not_allowed_token_type` error. HOT 13
- Issue with deploying to cloud foundry HOT 1
- [ERROR] not_allowed_token_type error on new bot app HOT 18
- Can't find a way to identify messages that are '@' the bot. HOT 1
- SyntaxError: Unexpected token < in JSON at position 0 HOT 1
- Error: Uncaught error: ratelimited
- Why appending "+" to every whitespace?
- Facing error in connection of uipath and Slack HOT 4
- Slack rtm.start() deprecation HOT 2
- Slack's update in `connect.start` API breaks the `slackbots` package HOT 1
- The new endpoint `conversations.list` is paginated
- Lib gets only first page of paginated endpoints
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slack-bot-api.