My TeamCity CI has the plugin `GitHub Commit Hooks` provided by Jetbrains to detect new pull requests and trigger a run. I've installed this plugin and configured it clicking here:

[![Install GitHub webhook](https://i.stack.imgur.com/vXeW9.png)](https://i.stack.imgur.com/vXeW9.png)

After that, the web hook is created on GitHub but the address is `0000:8111` which is wrong. So I change to the correct DNS and redeliver the request.

It seems to work, the server returns `202` with the message `Scheduled checking for changes for 2 VCS roots. (Server time: 20180615T122359.142+0100)` but the trigger is not working.

After a while another problem happens, the server starts rejecting the requests and GitHub returns this: 

```
No stored auth data (secret key) found for public key "72WE45221-19fe-433b-9265-66b2168EW6c". Seems hook created not by this TeamCity server. Reinstall hook via TeamCity UI.

```

Environment:

* TeamCity version: 2017.2.4 (build 51228)
* GitHub Commit Hooks version: 62

What I can do to solve this issue? Is there any issue with my DNS?

EDIT 1:

Now I am able to trigger the build by commits and solved the `secret key` issue. But pull requests are not triggering the CI.

To solve the `secret key` issue, you need to change the `Server URL` on `Global Settings`.