Your browser was unable to load all of the resources. They may have been blocked by your firewall, proxy or browser configuration.
Press Ctrl+F5 or Ctrl+Shift+R to have your browser try again.

Invalid signature or secret error when user try to commit changes in github #4222

heewook.son ·

Hi.

I'm using quickbuild 9.0.3 version

I want to use webhook when user commit change in github.
so, I set webhook configuration quick build & github follow https://wiki.pmease.com/display/qb90/Working+with+GitHub

However, I met the error when I tried to commit some change in github.
error message as below

aaa.PNG

I already check secret key in github & quickbuild.

more info, I found the error when i connect webhookurl

HTTP ERROR 500
Problem accessing /rest/webhook/github/213. Reason:

Server Error

Powered by Jetty:// 9.4.14.v20181114

thanks

  • replies 3
  • views 2914
  • stars 0
steveluo ADMIN ·

Hi@heewook.son

Please check whether the data format is correct, by default, GitHub uses application/x-www-form-urlencoded, while QuickBuild need application/json

Screen Shot 2020-04-03 at 3.07.19 PM.png
heewook.son ·

Hi Guys.
Today, I Updated our Quickbuild version from 9.x to 10.0.3.
and then I have tested webhook process with content type option json and x-www-form-urlencoded.
however, error is the same.

quickbuilderror00.PNG quickbuilderror01.PNG
steveluo2 ADMIN ·

Hi@heewook.son

The error means the secret input in QuickBuild doesn't match the secret input in GitHub. So please make sure the secrets are identical. You may use a simple secret for testing first, like: 12345 and replace the complex one later.