Saw the below message pop up on a few different bridged repositories, not sure what is the cause and how to resolve it. Git server is Github.
Operation: Refresh elements
| Mapping: mainframe / test-bridge-sync
| Result: SKIPPED - REFRESH_SKIPPED_OUT_OF_SYNC_REVERT
| User: XXXX
| Summary: The branch is in blocked status, please open the Bridge for Git application for further actions or contact your administrator. For more information consult the user documentation.
| Messages:
| - Refresh job is interrupted by sync
| Exception:
| com.ca.endevor.integration.modules.background.job.impl.gitflows.exception.FlowInterruptedException: Refresh job is interrupted by sync
Endevor V19
Bridge for Git v2.15.9
GitHub Enterprise Server
The main issue making the branch out-of-sync is because the Github webhook is not sending the payloads to Bridge for Git. After running a refresh, this state is detected and an automatic revert will be scheduled on the second run and the commits will be reverted.
However, after checking the advanced tab in the github app, found many failed recent deliveries due to certificate verification failure, as GitHub Enterprise Server doesn't recognize the certificate issued by local/private certificate authority or self-signed certificate used by Bridge for Git application.
Workaround: disable the SSL verification in the Github application, then restart Bridge for Git.
Solution: Fix the certificate issue, either use certificate issued by the public certificate authority for Bridge for Git application, or import the self signed Bridge for Git certificate to GitHub server.