This repository was archived by the owner on Jun 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
This repository was archived by the owner on Jun 14, 2022. It is now read-only.
Error: Slack request signing verification failed. Timestamp is too old #73
Copy link
Copy link
Open
Description
Description
I am trying to use Steno with a bolt app. However when replaying a transaction the request signing verification fails as the timestamp is too old.
What type of issue is this? (place an x in one of the [ ])
- bug
- enhancement (feature request)
- question
- documentation related
- testing related
- discussion
Requirements (place an x in each of the [ ])
- I've read and understood the Contributing guidelines and have done my best effort to follow them.
- I've read and agree to the Code of Conduct.
- I've searched for any related issues and avoided creating a duplicate issue.
Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
steno version: 1.2.0
OS version(s): macOS Mojave
Steps to reproduce:
- Record a simple slash command scenario with
./steno --record - Start steno in replay mode
- Observe the
interactionsobject contains a 500 response from the application
Expected result:
The relayed scenarios should be able to pass the slack request signing verification
Actual result:
The interactions object from the /stop endpoint returns a 500 response as the verification fails.
Attachments:
response: {
body: '<!DOCTYPE html>\n<html lang="en">\n<head>\n<meta charset="utf-8">\n' +
'<title>Error</title>\n</head>\n<body>\n<pre>Error: Slack request signing ' +
'verification failed. Timestamp is too old.<br> at ' +
'Object.errorWithCode ' +
'(/Users/ben/Project/node_modules/@slack/bolt/src/errors.ts:23:17)<br> ' +
' at verifyRequestSignature ' +
'(/Users/ben/Project/node_modules/@slack/bolt/src/ExpressReceiver.ts:234:19)<br> ' +
' at ' +
'/Users/ben/Project/node_modules/@slack/bolt/src/ExpressReceiver.ts:194:15<br> ' +
' at processTicksAndRejections ' +
'(internal/process/task_queues.js:89:5)</pre>\n</body>\n</html>\n',
headers: [Object],
statusCode: 500,
timestamp: 1575639064301
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels