My jenkins is running on ec2 instance. I have set up webhook on github for one of repos. I could connect to this repo from Jenkins and clone/checkout the code and perform builds manually. However, webhook is failing to deliver the payload and the error message that i always receive is "We couldn’t deliver this payload: Failure when receiving data from the peer"
Has anyone came across similar problem? where should i check to find the root cause of this?
Your help is much appreciated.
Best regards, Amit Joshi
I have checked the security groups associate with the ec2 instance on which jenkins is installed. the security groups allow all kind of traffic on all the ports. both ingress and egress.