question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

X-Hub-Signature does not match blob signature

See original GitHub issue

I did everything what said in Developing an App guide, but I’m getting this X-Hub-Signature does not match blob signature error:

Error: X-Hub-Signature does not match blob signature
      at EventSource.events.addEventListener (/Users/denysdovhan/...bot/node_modules/probot/lib/webhook-proxy.js:25:19)
      at EventSource.emit (events.js:160:13)
      at _emit (/Users/denysdovhan/...bot/node_modules/eventsource/lib/eventsource.js:222:17)
      at parseEventStreamLine (/Users/denysdovhan/...bot/node_modules/eventsource/lib/eventsource.js:237:9)
      at IncomingMessage.<anonymous> (/Users/denysdovhan/...bot/node_modules/eventsource/lib/eventsource.js:200:11)
      at IncomingMessage.emit (events.js:160:13)
      at addChunk (_stream_readable.js:269:12)
      at readableAddChunk (_stream_readable.js:256:11)
      at IncomingMessage.Readable.push (_stream_readable.js:213:10)
      at HTTPParser.parserOnBody (_http_common.js:139:22)
      at TLSSocket.socketOnData (_http_client.js:439:20)
      at TLSSocket.emit (events.js:160:13)
      at addChunk (_stream_readable.js:269:12)
      at readableAddChunk (_stream_readable.js:256:11)
      at TLSSocket.Readable.push (_stream_readable.js:213:10)
      at TLSWrap.onread (net.js:599:20)

Can anyone help to resolve this problem?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
bkeeperscommented, Feb 18, 2018

@denysdovhan 👋 this is a confusing error, but it basically means that the WEBHOOK_SECRET in you .env file does not match the secret configured for the GitHub App. Go into the settings for your GitHub App and update the secret to whatever you have configured in .env and it should fix it. Let me know if it doesn’t.

0reactions
denysdovhancommented, Feb 18, 2018

Actually, probot is a very interesting project. I’m surprised almost nobody heard about it. I’ll try to build a bot for the needs of my project and if my experience will be successful, I’m definitely going to write some articles or make talk about probot.

It seems like a good way for extending GitHub’s functionality.

Read more comments on GitHub >

github_iconTop Results From Across the Web

trying to mock github webhook request, get: "X-Hub-Signature ...
trying to mock github webhook request, get: "X-Hub-Signature does not match blob signature" · Ask Question. Asked 5 years, 5 months ago.
Read more >
Signature did not match error only occurs when SAS token is ...
When I run the code locally and trigger it with an HTTP request, it returns a URL that works. I can use it...
Read more >
Webhook delivery failed as X-Hub-Signature did not match ...
Our users were reporting that several PR's across a number of different repositories were not being built by Jenkins. Our Webhooks are setup ......
Read more >
Getting Started - Webhooks - Meta for Developers
Compare your signature to the signature in the X-Hub-Signature-256 header (everything after sha256= ). If the signatures match, the payload is genuine.
Read more >
Azure DevOps Incoming Webhook HMAC error
Closed - Not Enough Info ... The IWH is configured to look at the "X-Hub-Signature" header in the request. ... A valid hexadecimal...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found