template-slash-command-and-dialogs icon indicating copy to clipboard operation
template-slash-command-and-dialogs copied to clipboard

Command time out

Open ashleyEVhewins opened this issue 6 years ago • 1 comments

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?

ashleyEVhewins avatar Nov 07 '18 13:11 ashleyEVhewins

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

girliemac avatar Dec 12 '18 01:12 girliemac