BFG startup "Validate Bitbucket Server connection error" "connect timed out"
search cancel

BFG startup "Validate Bitbucket Server connection error" "connect timed out"

book

Article ID: 420259

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Endevor Bridge For Git failing to validate connection to Bitbucket server:

*****
Validate Bitbucket Server connection error: com.ca.endevor.integration.connector.rest.exception.RestConnectorException:
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://stash.server1.com/rest/oauth2/latest/token": Connect to stash.server1.com:443  stash.server1.com/##.##.#.#  failed: connect timed out; nested exception is org.apache.http.conn.ConnectTimeoutException: Connect to stash.server1.com:443  stash.server1.com/##.##.#.#  failed: connect timed out
*****

Cause

There was a firewall rule preventing access to the Bitbucket server stash.server1.com:443

Resolution

Open the firewall from BFG installation to stash.server1.com:443