-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Github Webhook #6122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The first part of the documentation makes reference to automatically created webhooks. Do you have your webhook on github with a secret set? This should be blank for manually created webhooks. |
I do not. Here is the full request: Headers
Payload
And the response: Headers
Body
|
Hmm, I just checked on the db, for some reason the integration was created with a secret. I just tested it with another project and the integration was created without a secret. I removed the secret from your integration. When did you create the integration? Did you test recreating the integration? We can investigate more if this happens again, but I'm not able to replicate it now. |
ok, I think I know what happened, I think you pushed the |
Thanks! I did press it at one point, but I believe I didn't press it for the most recent integration. FWIW, if I create the integration manually, it still says this at the top:
Even though that doesn't seem to be true. |
Thanks for reporting and fixing the issue! I also hit the problem today. |
Fix isn't deployed yet, after it's deployed you shouldn't have this problem :) (next deploy should be in one or two weeks) |
Details
di
Expected Result
Webhook successfully integrates.
Actual Result
The automated Github webhook for our project has been failing for the last ~4 months. When I logged in to https://readthedocs.org/dashboard/python-packaging-user-guide/integrations/ there was no integration listed. (I don't believe any of the administrators deleted it, but I can't be 100% sure).
I re-added this integration and updated the Github webhook. The initial
ping
succeeds with a200
, however, an actual event fails with a400
and the following message:This seems similar to #5426, however AFAIK the original integration was not automatically created, and recreating it manually does not fix the problem.
The documentation says:
But I see no way to reveal this secret so I can include it in the Github webhook configuration. Furthermore, the same documentation also says:
which seems contradictory.
Any ideas?
The text was updated successfully, but these errors were encountered: