I can't remove this error message.
Hi.
I have tried to create a build trigger for pull requests, there was an authentication error between stash and teamcity, and for some other reasons as well I have been asked to not implement this trigger, so I have deleted it but this error message is somehow still there.
Do you have any ideas, how to get rid of it ?
In case if you need to know what the message was:
Failed to retrieve pull request information; Exception: java.io.IOException: Pull request information retrieval failure due to HTTP error, status code 404:
Thank You.
Please sign in to leave a comment.
Hi,
I think there are two different issues here. First, the error has nothing to do with the trigger. The error has to do with the pull request feature that you have enabled on the build configuration, which might be misconfigured or entirely useless. If you want to get rid of the error but keep the pull requests feature, you will need to ensure that it's properly set up. If you want to get rid of the feature, access the build configuration settings and remove it from the build features list.
Hi,
thanks that was my first idea as well, I have only a few build features like file content replacer and shared resources none of which is connected to pull requests.
I do think I have removed everything related from the config, so I think the message itself got stuck somehow.
Hi,
I've reported this to the developer, we'll try to get it checked and see what's going on. In the meantime, we have received a second report of what seems to be the same issue, reporting that it's just cosmetic, their plugin and PR feature works fine, but it shows the error (https://teamcity-support.jetbrains.com/hc/en-us/community/posts/360003572659-GitHub-PR-Failed-to-retrieve-pull-request-information-status-code-403-Forbidden-message)
We'll take a look at the issue and try to get it fixed as soon as possible.
Hi Hunor86,
It seems the pull requests build feature indeed does not clean such errors after the build feature is removed from a build configuration.
We will look into this.
Although, would you mind to clarify one thing: do you still see this error when there is no pull requests build feature in a build configuraiton after your TeamCity server is restarted?
Thanks!
Yes, that's correct there is no pull request build feature in the build config.(Nor in its template or parent).
However we did not restart the TC server since then.
Thanks! It should be gone after you restart TeamCity.
Nevertheless we have recorded the issue here https://youtrack.jetbrains.com/issue/TW-60435 and we are going to address it in one of the coming bugfix releases after TeamCity 2019.1 is released.