我测试了 curl 和 postman 使用与 中相同的有效负载 URL 和有效负载正文Github 设置/ Hook 选项卡 .
它在 curl 和 postman 中运行良好,但它不适用于 Github 设置/ Hook ,并出现服务超时等错误。
附言。我使用了 Github 企业主机、API 和存储库。
最佳答案
原因是 Not Acceptable 端口 在我的企业 github 实例上。
它适用于更改为我的企业 github 允许的有效端口。
谢谢,bglee
关于Github webhook 错误 : We couldn’t deliver this payload: Service Timeout,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48363632/