In the enabled debug log-level I find problem. Problem is because webhook return failed, but POST request is correct and return status 200. What I need to add or do in webhook to resolve this.
time="2017-10-30T09:59:41+01:00" level=debug msg="Notify attempt 1 for "webhook" failed: Post
http://127.0.0.1:8000: EOF" source="notify.go:585"
time="2017-10-30T09:59:42+01:00" level=debug msg="Notify attempt 2 for "webhook" failed: Post
http://127.0.0.1:8000: EOF" source="notify.go:585"
time="2017-10-30T09:59:44+01:00" level=debug msg="Notify attempt 3 for "webhook" failed: Post
http://127.0.0.1:8000: EOF" source="notify.go:585"
time="2017-10-30T09:59:45+01:00" level=debug msg="Notify attempt 4 for "webhook" failed: Post
http://127.0.0.1:8000: EOF" source="notify.go:585"
Response from webhook:
127.0.0.1 - - [30/Oct/2017 09:59:37] "POST / HTTP/1.1" 200 -
Response HTTP Status Code: 201
Response HTTP Response Body: My JSON body
127.0.0.1 - - [30/Oct/2017 09:59:41] "POST / HTTP/1.1" 200 -
Response HTTP Status Code: 201
Response HTTP Response Body: My JSON body
127.0.0.1 - - [30/Oct/2017 09:59:42] "POST / HTTP/1.1" 200 -
Response HTTP Status Code: 201
Response HTTP Response Body: My JSON body