-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disconnection in development mode (too_many_websockets) #394
Comments
Hi, sorry for the delay. Were you able to fix the issue? If not, could you please provide steps to reproduce it? I haven't encountered this error before. |
Hello @bamada, I haven't had time to explore the problem further and work on it yet, so I'll share some of the research I've done here. The first thing I had to do was understand who is using the ➜ npm why finity
[email protected]
node_modules/finity
finity@"^0.5.4" from @slack/[email protected]
node_modules/@slack/socket-mode
@slack/socket-mode@"^1.3.6" from @slack/[email protected]
node_modules/@slack/bolt
@slack/bolt@"^3.21.1" from the root project
@slack/socket-mode@"^1.3.3" from @slack/[email protected]
node_modules/nestjs-slack-bolt/node_modules/@slack/bolt
@slack/bolt@"3.18.0" from [email protected]
node_modules/nestjs-slack-bolt
nestjs-slack-bolt@"^1.1.1" from the root project It is used by the It seems to me that there is an unhandled Which led me to wonder why the server would be blocking the connection... I found this related issue: slackapi/bolt-js#2113, which directed me to this one: slackapi/node-slack-sdk#1787 And what happens is that the We can see more details in this comment: slackapi/node-slack-sdk#1787 (comment) Where the most relevant part is:
I can submit a PR with preliminary tests of Note 1: Since the issue occurs outside of Note 2: The issue has only affected development mode for now, I haven't validated if the same occurs in production yet, but it does indeed "restart" the app. |
Describe the bug
Hi guys, I'm having a problem when running a NestJS project with
yarn start:dev
. Below is the output:Anyone else experiencing this? I'm performing the integration using socket mode.
It looks like there's a problem when transitioning to
connecting:handshaking
.Environment
nestjs-slack-bolt
@^1.1.1The text was updated successfully, but these errors were encountered: