php - Pour une raison inconnue, le compositeur signalera SSL : la poignée de main a expiré lors de la rencontre avec https et Google n'a aucun résultat.
typecho
typecho 2017-06-10 09:47:35
0
5
3822
[Composer\Downloader\TransportException] The "https://packagist.org/packages.json" file could not be downloaded: SSL: Handshake timed out

Exécuter : le contrôle du diagnostic du compositeur s'affiche 

[root@iZm5e5k2yby7w6yyixdif3Z .composer]# composer diagnose
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: OK
Checking https connectivity to packagist: WARNING
[Composer\Downloader\TransportException] The "https://packagist.org/packages.json" file could not be downloaded: SSL: Handshake timed out
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: Handshake timed out
Failed to enable crypto
failed to open stream: operation failed
Checking disk free space: OK
Checking pubkeys: FAIL
Missing pubkey for tags verification
  ssing pubkey for dev verification
Run composer self-update --update-keys to set them up
Checking composer version: 
                                                                                                 
  [Composer\Downloader\TransportException]                                                       
  The "https://getcomposer.org/versions" file could not be downloaded: SSL: Handshake timed out  
  Failed to enable crypto                                                                        
  failed to open stream: operation failed                                                        
                                                                                                 

diagnose

Exécuter

 php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');"

Spectacle

PHP Warning:  copy(): SSL: Handshake timed out in Command line code on line 1
PHP Warning:  copy(): Failed to enable crypto in Command line code on line 1
PHP Warning:  copy(https://install.phpcomposer.com/installer): failed to open stream: operation failed in Command line code on line 1
typecho
typecho

Following the voice in heart.

répondre à tous(5)
三叔

Ouvrez php.ini et augmentez la valeur default_socket_timeout. Par exemple : default_socket_timeout=360 (la valeur par défaut est -1 ou 60)

Peter_Zhu

Je pense que c'est une situation étrange non plus

  • Escalade le mur

  • Utilisez l'image du compositeur national

给我你的怀抱

Essayez de passer au miroir domestique

曾经蜡笔没有小新

Essayez d'utiliser un navigateur pour demander https://install.phpcomposer.com/installer, téléchargez le fichier et transférez-le sur le serveur. Renommez-le en composer-setup.php

.
学霸

C'est juste que le réseau est médiocre. Ou alors, cela n’a aucun sens. . .

Derniers téléchargements
Plus>
effets Web
Code source du site Web
Matériel du site Web
Modèle frontal
À propos de nous Clause de non-responsabilité Sitemap
Site Web PHP chinois:Formation PHP en ligne sur le bien-être public,Aidez les apprenants PHP à grandir rapidement!