SSL connection timeout in all packages composer
Asked by Ricardo Frederico Cambe Ribeiro:

The pipeline has been working well for quite some time, until yesterday out of the blue started having 2 problems in all branches and pipelines (including the ones that had been successful, we rerun it and the problem continues), when running either (composer install) or (composer update).  

<br />

**Pipeline:**

image: maven:3.3.9  
definitions:  
variables:  
...  
steps:  
- step: \&build  
image: bitnami/laravel  
runs-on:  
- 'self.hosted'  
- 'linux'  
name: 'Build'  
caches:  
- composer  
script:  
- apt-get update \&\& apt-get install -y zip  
- ls -la  
- rm -r .history .idea .vscode dockerfiles  
- rm docker-compose.yml  
- cd src/  
- rm -r .history __mock  
- composer clear-cache  
- composer update --no-interaction --no-progress #problem here  
- composer install --no-interaction --no-progress #or here if the one before is removed  
- php artisan optimize:clear  
- npm install --quiet  
- npm run build  
#- rm -r .git  
- cd ..  
- zip -r app-build-$BITBUCKET_BUILD_NUMBER.zip .  
artifacts:  
- "\*.zip"  
pipelines:  
branches:  
release/\*:  
- step: \*build  
# - step: \*deploy  

<br />

<br />

<br />

<br />

**Problem 1: SSL connection timeout in all the packages:**

* **composer update --no-interaction --no-progress**

[https://api.github.com/repos/spatie/ignition/zipball/e3a68e137371e1eb9edc7f78ffa733f3b98991d2:](https://api.github.com/repos/spatie/ignition/zipball/e3a68e137371e1eb9edc7f78ffa733f3b98991d2) SSL connection timeout  
581
Now trying to download from source  
582
Failed to download spatie/laravel-ignition from dist: curl error 28 while downloading [https://api.github.com/repos/spatie/laravel-ignition/zipball/3c067b75bfb50574db8f7e2c3978c65eed71126c:](https://api.github.com/repos/spatie/laravel-ignition/zipball/3c067b75bfb50574db8f7e2c3978c65eed71126c) SSL connection timeout  
583
Now trying to download from source  
584
Failed to download microsoft/azure-storage-queue from dist: curl error 28 while downloading [https://api.github.com/repos/Azure/azure-storage-queue-php/zipball/750974f7a888bb7a93cacb873b3280c45e970a23:](https://api.github.com/repos/Azure/azure-storage-queue-php/zipball/750974f7a888bb7a93cacb873b3280c45e970a23) SSL connection timeout  
585
Now trying to download from source  
586
Failed to download squigg/azure-queue-laravel from dist: curl error 28 while downloading [https://api.github.com/repos/squigg/azure-queue-laravel/zipball/e579e02e7b0828c2e8bb1842c12b1a7061ee6d29:](https://api.github.com/repos/squigg/azure-queue-laravel/zipball/e579e02e7b0828c2e8bb1842c12b1a7061ee6d29) SSL connection timeout  
587
Now trying to download from source  
588
Failed to download tightenco/ziggy from dist: curl error 28 while downloading [https://api.github.com/repos/tighten/ziggy/zipball/939576ad0f3d3e633a9401c8c377bc7bc873ff35:](https://api.github.com/repos/tighten/ziggy/zipball/939576ad0f3d3e633a9401c8c377bc7bc873ff35) SSL connection timeout  
589
Now trying to download from source

<br />

**Problem 2 (fail pipeline):**

In GitDownloader.php line 82:  
git was not found in your PATH, skipping source download  
update [--with WITH] [--prefer-source] [--prefer-dist] [--prefer-install PREFER-INSTALL] [--dry-run] [--dev] [--no-dev] [--lock] [--no-install] [--no-audit] [--audit-format AUDIT-FORMAT] [--no-autoloader] [--no-suggest] [--no-progress] [-w|--with-dependencies] [-W|--with-all-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--apcu-autoloader-prefix APCU-AUTOLOADER-PREFIX] [--ignore-platform-req IGNORE-PLATFORM-REQ] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [-m|--minimal-changes] [-i|--interactive] [--root-reqs] [--] [<packages>...]  
597


Answers:
author: Mark C
body: Hi [@Ricardo Frederico Cambe Ribeiro](/t5/user/viewprofilepage/user-id/5567344)  

Welcome to the community.  

Based on your YAML configuration, I can see you are using Linux Docker Runners.

Would it be possible for you to run your build from Pipelines infrastructure by commenting out the runners configuration?

This is for us to see if the same behaviour is happening from different environment.  

Let me know how it goes.  

Regards,  
Mark C


Tags: bitbucket-cloud

cloud