Steps to reproduce the issue -
1. Enable Post Receive WebHook for a particular repository.
2. Add URL which hits the restful webservice
3. Change a file in repo, add, commit and push
4. Restful web service does not get hit and when we check the audit logs, it shows following error -
0:0:0:0:0:0:0:1 | RepositoryHookSettingsChangedEvent | admin | 1524319392669 | com.atlassian.stash.plugin.stash-web-post-receive-hooks-plugin:postReceiveHook | {"project":"GIT","repository":"gitcoin","hook":"com.atlassian.stash.plugin.stash-web-post-receive-hooks-plugin:postReceiveHook","settings":{"hook-url-0":"http://localhost:8081/MetaDataUpdator/rest/gitcoin/test"}} | @BIWI4Px1173x180x0 | 1tgmzjb
0:0:0:0:0:0:0:1 | RepositoryHookEnabledEvent | admin | 1524319392669 | com.atlassian.stash.plugin.stash-web-post-receive-hooks-plugin:postReceiveHook | {"project":"GIT","repository":"gitcoin","hook":"com.atlassian.stash.plugin.stash-web-post-receive-hooks-plugin:postReceiveHook"} | @BIWI4Px1173x180x0 | 1tgmzjb
0:0:0:0:0:0:0:1 | AuthenticationFailureEvent | admin | 1524319604982 | admin | {"authentication-method":"basic","error":"Invalid username or password."} | @BIWI4Px1176x193x0 | -
Your immediate help will be highly appreciated. Thanking you in advance