-
Notifications
You must be signed in to change notification settings - Fork 379
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
Websockets mode with custom receiver #780
Comments
Hey @jimmyhlee94, Good point. We should add something to the documentation or a warning in the code about not being able to use |
@stevengill @mwbrooks @misscoded @shaydewael Perhaps, we can add some mention about socket mode in https://slack.dev/bolt-js/tutorial/getting-started What do you think? |
^ updates on my last comment - we may want to simply mention Socket Mode in the Getting Started document for reducing some possible confusion. |
In the bolt js documentation it mentions a code for
|
To track the progress in a single place, let us close this issue now. Please check #866 for this topic. |
Description
I was testing out socket mode with an existing bot but was met with
dispatch_failed
errors. Turns out this was because the bot was using a custom express receiver, which takes the place ofSocketModeReceiver
in the framework code. I don't think I encountered any mention of this while I was reading about socket mode... Or if this is mentioned somewhere, I'd recommend calling this out somewhere a little more discoverable.What type of issue is this? (place an
x
in one of the[ ]
)Requirements (place an
x
in each of the[ ]
)Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 3.0.0
node version: 14
OS version(s):
Steps to reproduce:
Expected result:
It would be cool if the bolt framework could somehow tell you that the express receiver provided wasn't a correct implementation of a websocket receiver if
App
is initialized withsocketMode
flipped on. Not sure of the feasibility of this though.I had turned on
developerMode
at some point hoping to see some kind of error message but saw none. It wasn't until I actually got socket mode working that I realized that I was supposed to get additional socket-related logs.Actual result:
What actually happened
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.
The text was updated successfully, but these errors were encountered: