Skip to main content

Timeline for composer connection refused

Current License: CC BY-SA 4.0

10 events
when toggle format what by license comment
Dec 21, 2018 at 8:34 comment added nicolallias I understand, but I am using v1.7.2 of composer, my error message "failed to open stream: Connection refused" is inconsistent with all of theirs... I wait for the resolution of the incident ticket on the host company behalf. In the meanwhile, I duplicate the production website on another server (which has no restrictions), attempting to upgrade there and later re-upload on the production server.
Dec 19, 2018 at 12:55 comment added Sebastian Have you tried these fixed mentied in the github issue https://github.com/composer/composer/issues/4388 ? What happens if you update composer to 1.8.2, remove composer cache and vendor dir (maybe the composer.lock too) and do a fresh install with composer install?
Dec 18, 2018 at 16:04 comment added nicolallias composer.json: pastebin.com/NvMWZKCU (customized to parse local packages.json, which I got from wget https://repo.magento.com/packages.json)
Dec 18, 2018 at 15:51 comment added nicolallias composer.json is in magento root directory (/home/web/www-preprod/), in which I launch every php -f composer.phar commands
Dec 18, 2018 at 14:42 comment added Sebastian Maybe you can show the content of your /home/me/.composer/auth.json and /home/me/.composer/composer.json? I'm confused about that u've got content in the /home/me/.composer/composer.json? :-D I would probably backup both files in /home/me/.composer, delete them, put the auth.json into Mage Root and do a fresh install by composer install (via composer.lock) not composer update. On prod environments i usallly use the --prefer-dist option for composer install
Dec 18, 2018 at 13:33 comment added nicolallias /home/me is the home folder of my unix user. /home/me/.composer is COMPOSER_HOME ; I indeed to plan to wget (or curl) every required files... I will keep you in touch ;)
Dec 18, 2018 at 11:18 comment added Sebastian @nicolallias ok, have you tried a simple curl for that package http://repo.packagist.org/p/ramsey/uuid..json ? Setting up a packagist proxy may work with toran or satis.. but i don't think thats ur problem. Looks like there is a misconfiguration in composer.. What file do you mean with: /home/me/.composer/
Dec 18, 2018 at 10:22 comment added nicolallias Hi sebastian, thanks for the advice, I edited the post: no success with the auth.json clue.
Dec 18, 2018 at 9:35 review First posts
Dec 18, 2018 at 9:35
Dec 18, 2018 at 9:34 history answered Sebastian CC BY-SA 4.0