-
Notifications
You must be signed in to change notification settings - Fork 399
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
Bolt App also listens to requests on port 3000 even when it's not supposed to #1200
Comments
Hello @gl-pgege, I think the issue is that you don't specify the
Looking at the code for how the Let us know how that works out! |
Passing a port number into |
Yes, good point @ojaha065 - this is a mistake in the documentation for the case where one uses the I will send a PR to fix the docs! |
… mode in Getting Started guides. Fixes #1200.
… mode in Getting Started guides. Fixes #1200.
Description
I'm working on creating a slack app that listens to messages in channels that the app is added into. Everything seems to work except the fact that when I'm running the Slack Bolt app (on port 3339), the app also seems to be receiving requests on port 3000. The problem is, I have a React application running on my local machine on port 3000 but when I go to
localhost:3000
in my browser, it's the slack app responding instead of my react application. Want to also note that I upgraded to version 3.8.1 but still face this issue.Would be great to find out if I'm doing anything wrong or if this is a bug.
Here's my code:
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.8.1
node version: 14.18.1
OS version(s): MacOS Big Sur 11.2.3
Steps to reproduce:
Expected result:
Expect the bolt app to not be listening on port 3000 because another port was assigned in
app.start()
Actual result:
Bolt app responds to requests sent on port 3000.
E.g. Going to localhost:3000 responds with
An unhandled HTTP request (GET) made to / was ignored
Attachments:
Logs, screenshots, screencast, sample project, funny gif, etc.
The text was updated successfully, but these errors were encountered: