Code Monkey home page Code Monkey logo

Comments (11)

jaredly avatar jaredly commented on May 27, 2024

In order to verify the payload, strider-github checks for the x-hub-signature header on the request. The error indicates that the header isn't there.

  1. are you behind any proxies that might strip off the header?
  2. are you using github, or github enterprise?
  3. try removing the webhooks and re-adding them ("delete service hooks")
    screenshot from 2013-11-01 15 47 08

from strider-github.

niallo avatar niallo commented on May 27, 2024

Could this be related to Strider-CD/strider#247 ?

from strider-github.

morkeleb avatar morkeleb commented on May 27, 2024

I'm behind and nignx https terminating proxy, I've set the proxy_pass_header x-hub-signature; but still no header.
Also normal github.

I'm using the npm version of strider, the version you are using seem to be much newer. I can only delete webhooks, the screen your showing has a lot more options.

from strider-github.

jaredly avatar jaredly commented on May 27, 2024

Ah yes, thanks for specifying. The npm version is 1.3.5, and the one currently in beta is 1.4. If you want to try it out, grab the github repo of strider; keep in mind that it's not fully polished yet; but from what I can tell, the github webhooks work just fine

Morten Nielsen [email protected] wrote:

I'm behind and nignx https terminating proxy, I've set the
proxy_pass_header x-hub-signature; but still no header.
Also normal github.

I'm using the npm version of strider, the version you are using seem to
be much newer. I can only delete webhooks, the screen your showing has
a lot more options.


Reply to this email directly or view it on GitHub:
#2 (comment)

Sent from my Android device with K-9 Mail. Please excuse my brevity.

from strider-github.

morkeleb avatar morkeleb commented on May 27, 2024

I just installed from HEAD... where do you want bug reports? :)
BTW- emails started working for me, SMTP_FROM isn't working in the npm version.

from strider-github.

morkeleb avatar morkeleb commented on May 27, 2024

as mentioned in the new issue, there add remove service hooks buttons doesn't work. I think its because of upgrades and the changed url for the webhooks. I can't test the new setup though, the custom plugin isn't active for some reson, after adding the project as a custom job it wont build at all.

from strider-github.

morkeleb avatar morkeleb commented on May 27, 2024

I'm now on HEAD 1.4.0-pre.
The error message is now gone, however, no webhooks are working. The log doesn't add any lines when I issue a push to the repo, nor when I issue a "test servicehooks" from the github servicehooks page.

from strider-github.

morkeleb avatar morkeleb commented on May 27, 2024

I've changed the configuration of the VM to allow http traffic.
When running using http the webhook works.
I think this is related to https terminating in nginx.

from strider-github.

jaredly avatar jaredly commented on May 27, 2024

That is really curious.

Morten Nielsen [email protected] wrote:

I've changed the configuration of the VM to allow http traffic.
When running using http the webhook works.
I think this is related to https terminating in nginx.


Reply to this email directly or view it on GitHub:
#2 (comment)

Sent from my Android device with K-9 Mail. Please excuse my brevity.

from strider-github.

morkeleb avatar morkeleb commented on May 27, 2024

Right, this is an issue with the certificate I used for the HTTPS.
Not a problem for strider.

Github aborts all posts when it sees a self-signed certificate.

Here is another post for reference as well:
http://www.lukemelia.com/blog/archives/2012/07/07/github-post-receive-hooks-and-ssl-certificates/

from strider-github.

niallo avatar niallo commented on May 27, 2024

Excellent detective work on how GitHub handles a self-signed SSL cert. Thank you!

from strider-github.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.