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.