I am just keep facing the
404 error problem on the webhook delivery (note that the payload and request are successfully sent, there is
404 error, not timeout), it’s about 30%~40$ webhook payload delivery will got the error, and a redeliver would usually make it
200 ok again, I’m very not sure what’s going on, the debug mode is turned on at the drone server, but didn’t see any related info to the failed deliveries.
The request header is: (token and X-GitHub-Delivery are replaced with XXXXX)
Request URL: https://ci.cdnjs.com/hook?access_token=XXXXXXXXXXXXXXXXXXXXX Request method: POST content-type: application/x-www-form-urlencoded Expect:· User-Agent: GitHub-Hookshot/d9ba1f0 X-GitHub-Delivery: XXXXXXXXXXXXXXXXXXX X-GitHub-Event: pull_request
and the response header (with
404 error) is:
Access-Control-Allow-Origin: * Cache-Control: no-cache, no-store, max-age=0, must-revalidate, value Content-Length: 0 Content-Type: text/plain; charset=utf-8 Date: Wed, 23 Nov 2016 05:39:18 GMT Expires: Thu, 01 Jan 1970 00:00:00 GMT Last-Modified: Wed, 23 Nov 2016 05:39:17 GMT Strict-Transport-Security: max-age=31536000 X-Content-Type-Options: nosniff X-Drone-Version: 0.5.0+801 X-Frame-Options: DENY X-Xss-Protection: 1; mode=block
I try to not use nginx and docker to make the environment much more simple, keep pull the latest drone version during these 5 days, but nothing helps.
Maybe there should be a feature to print out the category of log, and maybe one another feature to print the header like
X-GitHub-Delivery to help recognize the webhook would be helpful.
Please let me know if you also get this problem or you know any suggestion about how to dig into this issue, thanks!