Missed Team ’24? Catch up on announcements here.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Cloning from github while running composer in pipeline fails

Andreas Göhring April 22, 2024

We are having a problem that occurs not very often, but it is annoying.
We try to run composer in a pipeline step and to install pimcore v11 packages that sometimes fails.
It is always the same error and we do not have a clue what the problem could be, because these are public repositories but the result is either a connection timeout or permission denied.

Does anyone have a hint what could cause the problem, because we cannot control the connection params, it should just work.

Following the error:

Downloading php-http/discovery (1.19.4)
Failed to download php-http/discovery from dist: curl error 28 while downloading https://api.github.com/repos/php-http/discovery/zipball/0700efda8d7526335132360167315fdab3aeb599: Connection timeout after 10002 ms
Now trying to download from source
  - Syncing php-http/discovery (1.19.4) into cache

 

In Git.php line 471:

 

Failed to clone https://github.com/php-http/discovery.git via https, ssh protocols, aborting.
Cloning into bare repository '/composer/cache/vcs/https---github.com-php-http-discovery.git'...
fatal: unable to access 'https://github.com/php-http/discovery.git/': Failed to connect to github.com port 443 after 131203 ms: Connection timed out

 

- git@github.com:php-http/discovery.git
Cloning into bare repository '/composer/cache/vcs/https---github.com-php-http-discovery.git'...
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights and the repository exists.

1 answer

0 votes
Theodora Boudale
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 24, 2024

Hi Andreas,

I would recommend creating a support ticket for this issue, as we're probably going to need additional debug information and check the build logs.

You can create a ticket via https://support.atlassian.com/contact/#/; in "What can we help you with?" select "Technical issues and bugs" and then Bitbucket Cloud as a product. When you are asked to provide the workspace URL, please make sure you enter the URL of the workspace that is on a paid billing plan to proceed with ticket creation.

Kind regards,
Theodora

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events