Невозможно запустить команды композитора. SSL: сброс соединения по пиру - PullRequest
0 голосов
/ 29 октября 2018

Начну с того, что я никоим образом не серверный парень. Коллега внезапно покинул нашу фирму, и теперь мне остается решить проблему, которую я не понимаю. Я надеюсь, что кто-то может направить меня в правильном направлении.

У нас есть сервер под управлением Apache, Ubuntu 14.04 и PHP 7.2. Я пытаюсь запустить "composer install", но получаю следующий вывод

Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 6 installs, 15 updates, 0 removals
  - Installing doctrine/event-manager (v1.0.0): Downloading (failed)       
Downloading (failed)       
Downloading (failed)    Failed to download doctrine/event-manager from dist: The "https://api.github.com/repos/doctrine/event-manager/zipball/a520bc093a0170feeb6b14e9d83f3a14452e64b3" file could not be downloaded: SSL: Connection reset by peer
Failed to enable crypto
failed to open stream: operation failed
    Now trying to download from source
  - Installing doctrine/event-manager (v1.0.0): Cloning a520bc093a

и там он висит часами, прежде чем окончательно истекает время ожидания.

Я запустил «Диагностика композитора» и вижу следующий вывод

Do not run Composer as root/super user! See https://getcomposer.org/root for details
Checking composer.json: WARNING
require.nicolaslopezj/searchable : exact version constraints (1.9.5) should be avoided if the package follows semantic versioning
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: WARNING
[Composer\Downloader\TransportException] The "http://packagist.org/packages.json" file could not be downloaded (HTTP/1.1 503 Service Unavailable)
Checking https connectivity to packagist: WARNING
[Composer\Downloader\TransportException] The "https://packagist.org/packages.json" file could not be downloaded: SSL: Connection reset by peer
Failed to enable crypto
failed to open stream: operation failed
Checking github.com rate limit: FAIL
[Composer\Downloader\TransportException] The "https://api.github.com/rate_limit" file could not be downloaded: SSL: Connection reset by peer
Failed to enable crypto
failed to open stream: operation failed
Checking disk free space: OK
Checking pubkeys: 
Tag Public Key Fingerprint: ****
Dev Public Key Fingerprint: ****
OK
Checking composer version: 

  [Composer\Downloader\TransportException]                                                            
  The "https://getcomposer.org/versions" file could not be downloaded: SSL: Connection reset by peer  
  Failed to enable crypto                                                                             
  failed to open stream: operation failed                                                             

diagnose

Кто-нибудь может дать мне знать, что происходит, и направить меня в правильном направлении?

Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...