Git clone timeout 2024

I am troubleshooting a situation that I didn’t set up. We have a few sites that use github and circle ci to push to pantheon. I increased the timeout for static tests, and that helped on other sites when pushes weren’t making it to pantheon. Sadly one site keeps timing out on pretty much everything. I don’t understand circle ci well enough to know where to start, and am lost in some of the help I’ve found online. (Either it’s very old or doesn’t seem to be the same problem).

Here’s what I see when I push code. I’m happy to share more details if that would help orient to the problem. I’m stuck and can’t push anything. Everything in composer fails to download and PHP Stan times out despite what the 20m timeout.


Failed to download drupal/core-composer-scaffold from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing drupal/core-composer-scaffold (10.3.6) into cache
    Failed to download composer/installers from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing composer/installers (v1.12.0) into cache
    Failed to download cweagans/composer-patches from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing cweagans/composer-patches (1.7.3) into cache
    Failed to download drupal/core-project-message from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing drupal/core-project-message (10.3.6) into cache
    Failed to download php-http/discovery from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing php-http/discovery (1.20.0) into cache
    Failed to download squizlabs/php_codesniffer from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing squizlabs/php_codesniffer (3.10.3) into cache
    Failed to download dealerdirect/phpcodesniffer-composer-installer from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing dealerdirect/phpcodesniffer-composer-installer (v1.0.0) into cache
    Failed to download symfony/polyfill-mbstring from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/polyfill-mbstring (v1.29.0) into cache
    Failed to download symfony/polyfill-intl-normalizer from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/polyfill-intl-normalizer (v1.29.0) into cache
    Failed to download symfony/polyfill-ctype from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/polyfill-ctype (v1.29.0) into cache
    Failed to download symfony/polyfill-intl-grapheme from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/polyfill-intl-grapheme (v1.29.0) into cache
    Failed to download symfony/string from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/string (v6.4.13) into cache
    Failed to download psr/container from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing psr/container (2.0.2) into cache
    Failed to download doctrine/event-manager from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing doctrine/event-manager (2.0.1) into cache
    Failed to download psr/cache from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing psr/cache (3.0.0) into cache
    Failed to download symfony/service-contracts from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/service-contracts (v3.5.0) into cache
    Failed to download doctrine/deprecations from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing doctrine/deprecations (1.1.3) into cache
    Failed to download consolidation/log from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing consolidation/log (3.1.0) into cache
    Failed to download doctrine/collections from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing doctrine/collections (2.2.2) into cache
    Failed to download symfony/filesystem from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/filesystem (v6.4.13) into cache
    Failed to download symfony/console from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/console (v6.4.13) into cache
    Failed to download psr/log from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing psr/log (3.0.2) into cache
    Failed to download twig/twig from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing twig/twig (v3.14.0) into cache
    Failed to download symfony/yaml from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/yaml (v6.4.13) into cache
    Failed to download doctrine/persistence from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing doctrine/persistence (3.4.0) into cache
    Failed to download symfony/translation-contracts from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/translation-contracts (v3.5.0) into cache
    Failed to download symfony/polyfill-php83 from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/polyfill-php83 (v1.29.0) into cache
    Failed to download symfony/serializer from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/serializer (v6.4.13) into cache
    Failed to download symfony/validator from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/validator (v6.4.13) into cache
    Failed to download symfony/http-foundation from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/http-foundation (v6.4.13) into cache
    Failed to download symfony/routing from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/routing (v6.4.13) into cache
    Failed to download symfony/psr-http-message-bridge from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/psr-http-message-bridge (v6.4.13) into cache
    Failed to download symfony/mime from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/mime (v6.4.13) into cache
    Failed to download symfony/process from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/process (v6.4.13) into cache
    Failed to download symfony/polyfill-intl-idn from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/polyfill-intl-idn (v1.29.0) into cache
    Failed to download symfony/polyfill-iconv from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/polyfill-iconv (v1.29.0) into cache
    Failed to download symfony/event-dispatcher from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/event-dispatcher (v6.4.13) into cache
    Failed to download egulias/email-validator from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing egulias/email-validator (4.0.2) into cache
    Failed to download symfony/mailer from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/mailer (v6.4.13) into cache
    Failed to download doctrine/lexer from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing doctrine/lexer (2.1.1) into cache
    Failed to download symfony/error-handler from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/error-handler (v6.4.13) into cache
    Failed to download symfony/var-dumper from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/var-dumper (v6.4.13) into cache
    Failed to download symfony/var-exporter from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/var-exporter (v6.4.13) into cache
    Failed to download symfony/http-kernel from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/http-kernel (v6.4.13) into cache
    Failed to download symfony/finder from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/finder (v6.4.13) into cache
    Failed to download sebastian/diff from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing sebastian/diff (4.0.6) into cache
    Failed to download symfony/dependency-injection from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/dependency-injection (v6.4.13) into cache
    Failed to download pear/pear_exception from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing pear/pear_exception (v1.0.2) into cache
    Failed to download pear/archive_tar from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing pear/archive_tar (1.5.0) into cache
    Failed to download pear/console_getopt from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing pear/console_getopt (v1.4.3) into cache
    Failed to download pear/pear-core-minimal from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing pear/pear-core-minimal (v1.10.15) into cache
    Failed to download mck89/peast from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing mck89/peast (v1.16.3) into cache
    Failed to download guzzlehttp/psr7 from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing guzzlehttp/psr7 (2.6.3) into cache
    Failed to download guzzlehttp/promises from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing guzzlehttp/promises (2.0.4) into cache
    Failed to download guzzlehttp/guzzle from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing guzzlehttp/guzzle (7.8.2) into cache
    Failed to download drupal/core from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing drupal/core (10.3.6) into cache
    Failed to download doctrine/annotations from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing doctrine/annotations (1.14.4) into cache
    Failed to download asm89/stack-cors from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing asm89/stack-cors (v2.2.0) into cache
    Failed to download commerceguys/addressing from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing commerceguys/addressing (v1.4.2) into cache
    Failed to download drupal/address from dist: curl error 28 while downloading https://ftp.drupal.org/files/projects/address-8.x-1.12.zip: Connection time-out
    Now trying to download from source
  - Syncing drupal/address (1.12.0) into cache
    Failed to download drupal/*****_toolbar from dist: curl error 28 while downloading https://ftp.drupal.org/files/projects/*****_toolbar-3.5.1.zip: Connection time-out
    Now trying to download from source
  - Syncing drupal/*****_toolbar (3.5.1) into cache
    Failed to download politsin/jquery-ui-touch-punch from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing politsin/jquery-ui-touch-punch (1.0) into cache
    Failed to download harvesthq/chosen from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing harvesthq/chosen (v1.8.7) into cache
    Failed to download phpstan/phpdoc-parser from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing phpstan/phpdoc-parser (1.33.0) into cache
    Failed to download slevomat/coding-standard from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing slevomat/coding-standard (8.15.0) into cache
    Failed to download sirbrillig/phpcs-variable-analysis from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing sirbrillig/phpcs-variable-analysis (v2.11.19) into cache
    Failed to download drupal/coder from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing drupal/coder (8.3.25) into cache
    Failed to download doctrine/common from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing doctrine/common (3.4.5) into cache
    Failed to download laminas/laminas-stdlib from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing laminas/laminas-stdlib (3.20.0) into cache
    Failed to download laminas/laminas-escaper from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing laminas/laminas-escaper (2.14.0) into cache
    Failed to download laminas/laminas-feed from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing laminas/laminas-feed (2.23.0) into cache
    Failed to download google/recaptcha from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing google/recaptcha (1.3.0) into cache
    Failed to download easyrdf/easyrdf from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing easyrdf/easyrdf (1.1.1) into cache
    Failed to download enshrined/svg-sanitize from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing enshrined/svg-sanitize (0.20.0) into cache
    Failed to download tijsverkoyen/css-to-inline-styles from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing tijsverkoyen/css-to-inline-styles (v2.2.7) into cache
    Failed to download symfony/css-selector from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing symfony/css-selector (v6.4.13) into cache
    Failed to download html2text/html2text from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing html2text/html2text (4.3.2) into cache
    Failed to download phpstan/phpstan from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing phpstan/phpstan (1.12.7) into cache
A connection timeout was encountered. If you intend to run Composer without connecting to the internet, run the command again prefixed with COMPOSER_DISABLE_NETWORK=1 to make Composer run in offline mode.
    Failed to download drupal/search_api from dist: curl error 28 while downloading https://ftp.drupal.org/files/projects/search_api-8.x-1.35.zip: Operation timed out after 302529 milliseconds with 15931 out of 964851 bytes received
    Now trying to download from source
  - Syncing drupal/search_api (1.35.0) into cache
    Failed to download drupal/seven from dist: curl error 28 while downloading https://ftp.drupal.org/files/projects/seven-1.0.0.zip: Operation timed out after 302529 milliseconds with 0 out of 264923 bytes received
    Now trying to download from source
  - Syncing drupal/seven (1.0.0) into cache
    Failed to download drupal/simple_recaptcha from dist: curl error 28 while downloading https://ftp.drupal.org/files/projects/simple_recaptcha-8.x-1.0-beta8.zip: Operation timed out after 302529 milliseconds with 15930 out of 51285 bytes received
    Now trying to download from source
  - Syncing drupal/simple_recaptcha (1.0.0-beta8) into cache
    Failed to download drupal/simple_sitemap from dist: curl error 28 while downloading https://ftp.drupal.org/files/projects/simple_sitemap-4.2.1.zip: Operation timed out after 302529 milliseconds with 15930 out of 225909 bytes received
    Now trying to download from source
  - Syncing drupal/simple_sitemap (4.2.1) into cache
    Failed to download drupal/siteimprove from dist: curl error 28 while downloading https://ftp.drupal.org/files/projects/siteimprove-2.0.2.zip: Operation timed out after 302529 milliseconds with 15933 out of 37376 bytes received
    Now trying to download from source
  - Syncing drupal/siteimprove (2.0.2) into cache
    Failed to download drupal/slack from dist: curl error 28 while downloading https://ftp.drupal.org/files/projects/slack-8.x-1.4.zip: Operation timed out after 302528 milliseconds with 0 out of 19282 bytes received
    Now trying to download from source
  - Syncing drupal/slack (1.4.0) into cache
    Failed to download drupal/svg_image_field from dist: curl error 28 while downloading https://ftp.drupal.org/files/projects/svg_image_field-2.3.3.zip: Operation timed out after 302177 milliseconds with 0 bytes received
    Now trying to download from source
  - Syncing drupal/svg_image_field (2.3.3) into cache
    Failed to download drupal/symfony_mailer from dist: curl error 28 while downloading https://ftp.drupal.org/files/projects/symfony_mailer-1.5.0.zip: Operation timed out after 301203 milliseconds with 0 bytes received
    Now trying to download from source
  - Syncing drupal/symfony_mailer (1.5.0) into cache
    Failed to download phpstan/phpstan-deprecation-rules from dist: curl error 28 while downloading https://api.github.com/repos/phpstan/phpstan-deprecation-rules/zipball/f94d246cc143ec5a23da868f8f7e1393b50eaa82: Operation timed out after 300865 milliseconds with 0 bytes received
    Now trying to download from source
  - Syncing phpstan/phpstan-deprecation-rules (1.2.1) into cache
    Failed to download nikic/php-parser from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing nikic/php-parser (v5.3.1) into cache
    Failed to download mglaman/phpstan-drupal from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing mglaman/phpstan-drupal (1.3.1) into cache
    Failed to download dekor/php-array-table from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing dekor/php-array-table (2.0) into cache
    Failed to download league/csv from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing league/csv (9.8.0) into cache
    Failed to download drupal/drupal-driver from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing drupal/drupal-driver (v2.3.0) into cache
    Failed to download drush-ops/behat-drush-endpoint from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing drush-ops/behat-drush-endpoint (9.4.1) into cache
    Failed to download league/container from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing league/container (4.2.3) into cache
    Failed to download psy/psysh from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing psy/psysh (v0.12.4) into cache
    Failed to download grasmash/yaml-cli from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing grasmash/yaml-cli (3.2.1) into cache
    Failed to download grasmash/expander from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing grasmash/expander (3.0.0) into cache
    Failed to download consolidation/site-process from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing consolidation/site-process (5.4.0) into cache
    Failed to download consolidation/output-formatters from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing consolidation/output-formatters (4.6.0) into cache
    Failed to download phpowermove/docblock from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing phpowermove/docblock (v4.0) into cache
    Failed to download phootwork/lang from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing phootwork/lang (v3.2.3) into cache
    Failed to download consolidation/robo from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing consolidation/robo (4.0.6) into cache
    Failed to download chi-teck/drupal-code-generator from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing chi-teck/drupal-code-generator (3.6.1) into cache
    Failed to download phootwork/collection from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing phootwork/collection (v3.2.3) into cache
    Failed to download php-http/httplug from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing php-http/httplug (2.4.1) into cache
    Failed to download drush/drush from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing drush/drush (12.5.3) into cache
    Failed to download willdurand/geocoder from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing willdurand/geocoder (4.6.0) into cache
    Failed to download php-http/promise from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing php-http/promise (1.3.1) into cache
    Failed to download geocoder-php/common-http from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing geocoder-php/common-http (4.6.0) into cache
    Failed to download php-http/guzzle7-adapter from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing php-http/guzzle7-adapter (1.0.0) into cache
    Failed to download geocoder-php/google-maps-provider from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing geocoder-php/google-maps-provider (4.7.1) into cache
    Failed to download kint-php/kint from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing kint-php/kint (4.2.3) into cache
    Failed to download pantheon-systems/drupal-integrations from dist: Could not authenticate against github.com
    Now trying to download from source
  - Syncing pantheon-systems/drupal-integrations (9.0.5) into cache
The following exception is caused by a process timeout
Check https://getcomposer.org/doc/06-config.md#process-timeout for details

In Process.php line 1205:
                                                                               
  The process "git clone --mirror -- 'https://github.com/phpstan/phpstan.git'  
   '/home/tester/.cache/composer/vcs/https---github.com-phpstan-phpstan.git/'  
  " exceeded the timeout of 300 seconds.