Skip to content
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

Command time out #2

Open
ashleyEVhewins opened this issue Nov 7, 2018 · 1 comment
Open

Command time out #2

ashleyEVhewins opened this issue Nov 7, 2018 · 1 comment

Comments

@ashleyEVhewins
Copy link

I am running the app through Glitch and it initially worked well, but every now and then it times out and take a few attempts to launch.

Any idea what is causing this?

@girliemac
Copy link
Contributor

girliemac commented Dec 12, 2018

I am guessing that it happens when the server is waking up from hibernation. And when your server can't respond to the HTTP request in 3000 ms, it just fails.
Although this is not included in this code sample, you can make a delayed response using the response_url.
https://api.slack.com/slash-commands#responding_response_url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants