Unable to clone from privately hosted repositories

recently we started exploring bitrise , we are facing some issue in cloning the repo
our repository is hosted in self-hosted bitbucket

attachin the logs
`Agent version: 1.24.3
Hostname: prd-atl-std-g-xcode-12-210527113637-tw7XqZ3DG4okMLVhFUuuq7.local
Start time: 2021-05-27T11:45:20Z
$ bitrise “run” “–config” “/var/folders/wp/4pf4qdmn217djs68lskdcc780000gn/T/bitrise-agent817774811/bitrise.yml” “–inventory” “/var/folders/wp/4pf4qdmn217djs68lskdcc780000gn/T/bitrise-agent817774811/bitrise.secrets.yml” “–json-params-base64” “eyJ3b3JrZmxvdyI6InByaW1hcnkifQ==”

██████╗ ██╗████████╗██████╗ ██╗███████╗███████╗
██╔══██╗██║╚══██╔══╝██╔══██╗██║██╔════╝██╔════╝
██████╔╝██║ ██║ ██████╔╝██║███████╗█████╗
██╔══██╗██║ ██║ ██╔══██╗██║╚════██║██╔══╝
██████╔╝██║ ██║ ██║ ██║██║███████║███████╗
╚═════╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝╚══════╝╚══════╝

e[32;1m version: 1.45.1e[0m

e[36mINFOe[0m[12:45:21] e[33;1mbitrise runs in Secret Filtering modee[0m
e[36mINFOe[0m[12:45:21] e[33;1mbitrise runs in CI modee[0m
e[36mINFOe[0m[12:45:21] Running workflow: e[32;1mprimarye[0m

e[34;1mSwitching to workflow:e[0m primary

e[36mINFOe[0m[12:45:21] Step uses latest version – Updating StepLib …
±-----------------------------------------------------------------------------+
| (0) open-vpn@0.1 |
±-----------------------------------------------------------------------------+
| id: open-vpn |
| version: 0.1.0 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: bash |
| time: 2021-05-27T12:45:29+01:00 |
±-----------------------------------------------------------------------------+
| |
e[34;1m(openvpn) isn’t installed, installing…e[0m
e[34;1m * e[32;1m[OK]e[0m openvpn installede[0m
e[36mINFOe[0m[12:46:13] * e[32;1m[OK]e[0m Step dependency (openvpn) installed, available.
Configs:
host: [REDACTED]
port: 1194
proto: udp
ca_crt: ***
client_crt: ***
client_key: ***

Log path exported ($OPENVPN_LOG_PATH=/var/folders/wp/4pf4qdmn217djs68lskdcc780000gn/T/tmp.5XvBGIJl)

Configuring for Mac OS

Run openvpn
Done

Check status
Done
| |
±–±--------------------------------------------------------------±---------+
| e[32;1m✓e[0m | e[32;1mopen-vpn@0.1e[0m | 57.98 sec|
±–±--------------------------------------------------------------±---------+

±-----------------------------------------------------------------------------+
| (1) activate-ssh-key@4 |
±-----------------------------------------------------------------------------+
| id: activate-ssh-key |
| version: 4.0.6 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2021-05-27T12:46:24+01:00 |
±-----------------------------------------------------------------------------+
| |
e[34;1mConfig:
e[0m- SSHRsaPrivateKey: *****

  • SSHKeySavePath: /Users/vagrant/.ssh/bitrise_step_activate_ssh_key
  • IsRemoveOtherIdentities: true
  • Verbose: false

$ ssh-add “-l”
ssh_agent_check_result: 1
running / accessible ssh-agent detected

$ ssh-add “-D”
All identities removed.

$ ssh-agent “-k”
SSH_AGENT_PID not set, cannot kill agent
Exit code: exit status 1

$ bash “-c” “/var/folders/wp/4pf4qdmn217djs68lskdcc780000gn/T/spawn224675318/tmp_spawn.sh”
spawn ssh-add /Users/vagrant/.ssh/bitrise_step_activate_ssh_key
Identity added: /Users/vagrant/.ssh/bitrise_step_activate_ssh_key (BIREN.SUBUDHI@ip-192-168-85-27.ap-south-1.compute.internal)

e[32;1mSuccesse[0m
The SSH key was saved to /Users/vagrant/.ssh/bitrise_step_activate_ssh_key
and was successfully added to ssh-agent.
| |
±–±--------------------------------------------------------------±---------+
| e[32;1m✓e[0m | e[32;1mactivate-ssh-key@4e[0m | 10.83 sec|
±–±--------------------------------------------------------------±---------+

±-----------------------------------------------------------------------------+
| (2) git-clone@6 |
±-----------------------------------------------------------------------------+
| id: git-clone |
| version: 6.0.0 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2021-05-27T12:46:32+01:00 |
±-----------------------------------------------------------------------------+
| |
e[34;1mConfig:
e[0m- RepositoryURL: ssh://ben10.omuni.com:7999/one/ios_omuni.git

  • CloneIntoDir: /Users/vagrant/git
  • Commit:
  • Tag:
  • Branch: master
  • PRDestBranch:
  • PRID: 0
  • PRSourceRepositoryURL:
  • PRMergeBranch:
  • PRHeadBranch:
  • ResetRepository: false
  • CloneDepth: 0
  • FetchTags: false
  • SubmoduleUpdateDepth: 0
  • ShouldMergePR: true
  • SparseDirectories:
  • BuildURL: https://app.bitrise.io/build/18852b490a4e7ea5
  • BuildAPIToken: [REDACTED]
  • UpdateSubmodules: true
  • ManualMerge: true

e[34;1m$ git "init"e[0m
hint: Using ‘master’ as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch
hint:
hint: Names commonly chosen instead of ‘master’ are ‘main’, ‘trunk’ and
hint: ‘development’. The just-created branch can be renamed via this command:
hint:
hint: git branch -m
Initialized empty Git repository in /Users/vagrant/git/.git/

e[34;1m$ git “remote” “add” “origin” "ssh://ben10.omuni.com:7999/one/ios_omuni.git"e[0m

e[34;1m$ git “fetch” “–jobs=10” “–no-tags” “origin” "refs/heads/master"e[0m
ssh: connect to host ben10.omuni.com port 7999: Operation timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
e[33;1mAttempt 1 failed:e[0m
ssh: connect to host ben10.omuni.com port 7999: Operation timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
e[33;1mRetrying…e[0m

e[34;1m$ git “fetch” “–jobs=10” “–no-tags” “origin” "refs/heads/master"e[0m
ssh: connect to host ben10.omuni.com port 7999: Operation timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
e[33;1mAttempt 2 failed:e[0m
ssh: connect to host ben10.omuni.com port 7999: Operation timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
e[33;1mRetrying…e[0m

e[34;1m$ git “fetch” “–jobs=10” “–no-tags” “origin” "refs/heads/master"e[0m
ssh: connect to host ben10.omuni.com port 7999: Operation timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
e[33;1mAttempt 3 failed:e[0m
ssh: connect to host ben10.omuni.com port 7999: Operation timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

e[34;1m$ git “fetch” "–jobs=10"e[0m
ssh: connect to host ben10.omuni.com port 7999: Operation timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
e[34;1mCheckout strategy used: gitclone.checkoutBranche[0m
e[31;1mERROR: fetch failed: ssh: connect to host ben10.omuni.com port 7999: Operation timed out
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.e[0m
| |
±–±--------------------------------------------------------------±---------+
| e[31;1mxe[0m | e[31;1mgit-clone@6 (exit code: 1)e[0m | 5.1 min |
±–±--------------------------------------------------------------±---------+
| Issue tracker: Issues · bitrise-steplib/steps-git-clone · GitHub |
| Source: GitHub - bitrise-steplib/steps-git-clone |
±–±--------------------------------------------------------------±---------+

±-----------------------------------------------------------------------------+
| (3) cache-pull@2 |
±-----------------------------------------------------------------------------+
| id: cache-pull |
| version: 2.5.0 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2021-05-27T12:51:38+01:00 |
±-----------------------------------------------------------------------------+
| |
e[33mWARNe[0m[12:51:38] A previous step failed, and this step (cache-pull@2) was not marked as IsAlwaysRun, skipped
| |
±–±--------------------------------------------------------------±---------+
| e[34;1m-e[0m | e[34;1mcache-pull@2e[0m | 1.48 sec |
±–±--------------------------------------------------------------±---------+

±-----------------------------------------------------------------------------+
| (4) Do anything with Script step |
±-----------------------------------------------------------------------------+
| id: script |
| version: 1.1.6 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: bash |
| time: 2021-05-27T12:51:40+01:00 |
±-----------------------------------------------------------------------------+
| |
e[33mWARNe[0m[12:51:40] A previous step failed, and this step (Do anything with Script step) was not marked as IsAlwaysRun, skipped
| |
±–±--------------------------------------------------------------±---------+
| e[34;1m-e[0m | e[34;1mDo anything with Script stepe[0m | 1.37 sec |
±–±--------------------------------------------------------------±---------+

±-----------------------------------------------------------------------------+
| (5) certificate-and-profile-installer@1 |
±-----------------------------------------------------------------------------+
| id: certificate-and-profile-installer |
| version: 1.10.3 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2021-05-27T12:51:42+01:00 |
±-----------------------------------------------------------------------------+
| |
e[33mWARNe[0m[12:51:42] A previous step failed, and this step (certificate-and-profile-installer@1) was not marked as IsAlwaysRun, skipped
| |
±–±--------------------------------------------------------------±---------+
| e[34;1m-e[0m | e[34;1mcertificate-and-profile-installer@1e[0m | 1.83 sec |
±–±--------------------------------------------------------------±---------+

±-----------------------------------------------------------------------------+
| (6) recreate-user-schemes@1 |
±-----------------------------------------------------------------------------+
| id: recreate-user-schemes |
| version: 1.0.2 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2021-05-27T12:51:43+01:00 |
±-----------------------------------------------------------------------------+
| |
e[33mWARNe[0m[12:51:43] A previous step failed, and this step (recreate-user-schemes@1) was not marked as IsAlwaysRun, skipped
| |
±–±--------------------------------------------------------------±---------+
| e[34;1m-e[0m | e[34;1mrecreate-user-schemes@1e[0m | 1.48 sec |
±–±--------------------------------------------------------------±---------+

±-----------------------------------------------------------------------------+
| (7) cocoapods-install@2 |
±-----------------------------------------------------------------------------+
| id: cocoapods-install |
| version: 2.2.0 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2021-05-27T12:51:45+01:00 |
±-----------------------------------------------------------------------------+
| |
e[33mWARNe[0m[12:51:45] A previous step failed, and this step (cocoapods-install@2) was not marked as IsAlwaysRun, skipped
| |
±–±--------------------------------------------------------------±---------+
| e[34;1m-e[0m | e[34;1mcocoapods-install@2e[0m | 1.75 sec |
±–±--------------------------------------------------------------±---------+

±-----------------------------------------------------------------------------+
| (8) xcode-test@2 |
±-----------------------------------------------------------------------------+
| id: xcode-test |
| version: 2.6.2 |
| collection: GitHub - bitrise-io/bitrise-steplib: New Bitrise StepLib |
| toolkit: go |
| time: 2021-05-27T12:51:47+01:00 |
±-----------------------------------------------------------------------------+
| |
e[33mWARNe[0m[12:51:47] A previous step failed, and this step (xcode-test@2) was not marked as IsAlwaysRun, skipped
| |
±–±--------------------------------------------------------------±---------+
| e[34;1m-e[0m | e[34;1mxcode-test@2e[0m | 2.24 sec |
±–±--------------------------------------------------------------±---------+

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.