Skip to content
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

GH webhook times out but manual POST request works #214

Open
rodrigogiraoserrao opened this issue Feb 22, 2022 · 1 comment
Open

GH webhook times out but manual POST request works #214

rodrigogiraoserrao opened this issue Feb 22, 2022 · 1 comment

Comments

@rodrigogiraoserrao
Copy link

rodrigogiraoserrao commented Feb 22, 2022

Up until yesterday, I had been using this amazing plugin to sync my website with my repo.
My typical workflow would be to open my editor of choice locally, edit my pages locally, push to my repo, and have the plugin sync the website. This was working flawlessly for months on end.

Today, it mysteriously stopped working 🤷

When I update the repository, I can go to the webhook settings and see that the event was sent, but that it failed because it timed out.
However, if I go to reqbin.com, I can make a POST request manually, with the same payload and to the same URL, and I get a 200 (OK) response in around 2 seconds (which seems to be faster than the 10s window that GH gives us to reply to the webhook), and this manual POST request successfully triggered syncing; not only does it return a success message:

{
    "status": "success",
    "message": "GitSync completed the synchronization"
}

But I effectively see the updates on my website after the manual POST.

Synchronisation also appears to be working fine through the admin page, where clicking "Synchronise GitSync" works without an issue.

I have no clue as to what is happening, and I find it odd that GH fails to send the webhook, but I can.
Any suggestions of things I might try to fix this/things I should do to help you troubleshoot the issue?

Thanks for your help, Rodrigo.

@w00fz
Copy link
Member

w00fz commented May 21, 2022

Is this still an issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants