-
-
Notifications
You must be signed in to change notification settings - Fork 196
Closed
Description
I have a problem installing dependencies in a Vagrant machine behind a corporate proxy.
The problem occurs when the packages are prefetched after Flex is downloaded:
Failed to download doctrine/lexer from dist: "https://api.github.com/repos/doctrine/lexer/zipball/83893c552fd2045dd78aef794c31e694c37c0b8c" appears broken, and returned an empty 200 response
Now trying to download from source
If I disable Flex during installation with composer install --no-plugins
everything is OK.
A similar problem also occurs with composer update
(composer update --no-plugins
is OK):
$ composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 86 installs, 0 updates, 0 removals
- Installing symfony/flex (v1.2.1): Downloading (100%)
"https://repo.packagist.org/packages.json" does not contain valid JSON
Parse error on line 1:
^
Expected one of: 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '['
https://repo.packagist.org could not be fully loaded, package information was loaded from the local cache and may be out of date
In both cases Composer receives an empty response. Composer diagnose:
$ composer diagnose
Checking composer.json: OK
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: OK
Checking HTTP proxy: OK
Checking HTTP proxy support for request_fulluri: OK
Checking HTTPS proxy support for request_fulluri: OK
Checking github.com rate limit: OK
Checking disk free space: OK
Checking pubkeys: FAIL
Missing pubkey for tags verification
Missing pubkey for dev verification
Run composer self-update --update-keys to set them up
Checking composer version: OK
Composer version: 1.8.4
PHP version: 7.2.17
PHP binary path: /opt/remi/php72/root/usr/bin/php
skyerus, cybernet, dakzilla, olenindenis, juanitourquiza and 7 morefarrokhPeyGhayyem-zz and miguel-jesus-js
Metadata
Metadata
Assignees
Labels
No labels