Skip to content

Failed to set up the webhook in Github for gitwebhook-go sample #1312

@houshengbo

Description

@houshengbo

I followed the tutorial at https://github.com/knative/docs/tree/master/docs/serving/samples/gitwebhook-go.

I used the GKE as the Kube backend. After configuring the domain and the static IP, I still failed to create a valid webhook available to receive the payload successfully.

SSL validation option is only available when we use HTTPS protocol, like https://<domain>, and it is not available for HTTP protocol, like http://<domain> as the payload URL.

No matter I used https://<domain> or http://<domain>, I failed to get successful response from the webhook, when I delivered any payload to the URL http://<domain>.

It popped up with "405 method not allowed", when I run "curl -H "Host: gitwebhook.default.<domain>.com" http://${IP_ADDRESS}"

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions