{"action":"created","issue":{"url":"https://api.github.com/repos/composer/composer/issues/4402","labels_url":"https://api.github.com/repos/composer/composer/issues/4402/labels{/name}","comments_url":"https://api.github.com/repos/composer/composer/issues/4402/comments","events_url":"https://api.github.com/repos/composer/composer/issues/4402/events","html_url":"https://github.com/composer/composer/issues/4402","id":105172973,"number":4402,"title":"composer.phar self-update Exception","user":{"login":"lanffy","id":5475423,"avatar_url":"https://avatars.githubusercontent.com/u/5475423?v=3","gravatar_id":"","url":"https://api.github.com/users/lanffy","html_url":"https://github.com/lanffy","followers_url":"https://api.github.com/users/lanffy/followers","following_url":"https://api.github.com/users/lanffy/following{/other_user}","gists_url":"https://api.github.com/users/lanffy/gists{/gist_id}","starred_url":"https://api.github.com/users/lanffy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lanffy/subscriptions","organizations_url":"https://api.github.com/users/lanffy/orgs","repos_url":"https://api.github.com/users/lanffy/repos","events_url":"https://api.github.com/users/lanffy/events{/privacy}","received_events_url":"https://api.github.com/users/lanffy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-07T08:35:26Z","updated_at":"2015-09-07T08:52:27Z","closed_at":null,"body":"first,run command **./composer.phar dumpautoload**,the output is\r\n\r\n```\r\nWarning: This development build of composer is over 60 days old. It is recommended to update it by running \"./composer.phar self-update\" to get the latest version.\r\nGenerating autoload files\r\n```\r\n\r\nso I run **./composer.phar self-update**, and the output is \r\n\r\n```\r\nUpdating to version 4590012a57d829f18bfb819ce7041671ba2b0a67.\r\n    Downloading: 100%\r\n\r\n\r\n\r\n  [Composer\\Downloader\\TransportException]\r\n  The \"https://getcomposer.org/composer.phar\" file could not be downloaded: SSL: Connection reset by peer\r\n  failed to open stream: HTTP request failed!\r\n\r\n\r\n\r\nself-update [-r|--rollback] [--clean-backups] [--no-progress] [version]\r\n```\r\n\r\nI tried again, and the output is\r\n\r\n```\r\n  [Composer\\Downloader\\TransportException]\r\n  The \"https://getcomposer.org/version\" file could not be downloaded: SSL: Handshake timed out\r\n  Failed to enable crypto\r\n  failed to open stream: operation failed\r\n\r\n\r\n\r\nself-update [-r|--rollback] [--clean-backups] [--no-progress] [version]\r\n```\r\n\r\nHow can I solve this problem？\r\nThanks:)"},"comment":{"url":"https://api.github.com/repos/composer/composer/issues/comments/138241746","html_url":"https://github.com/composer/composer/issues/4402#issuecomment-138241746","issue_url":"https://api.github.com/repos/composer/composer/issues/4402","id":138241746,"user":{"login":"alcohol","id":21414,"avatar_url":"https://avatars.githubusercontent.com/u/21414?v=3","gravatar_id":"","url":"https://api.github.com/users/alcohol","html_url":"https://github.com/alcohol","followers_url":"https://api.github.com/users/alcohol/followers","following_url":"https://api.github.com/users/alcohol/following{/other_user}","gists_url":"https://api.github.com/users/alcohol/gists{/gist_id}","starred_url":"https://api.github.com/users/alcohol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alcohol/subscriptions","organizations_url":"https://api.github.com/users/alcohol/orgs","repos_url":"https://api.github.com/users/alcohol/repos","events_url":"https://api.github.com/users/alcohol/events{/privacy}","received_events_url":"https://api.github.com/users/alcohol/received_events","type":"User","site_admin":false},"created_at":"2015-09-07T08:52:27Z","updated_at":"2015-09-07T08:52:27Z","body":"Update your ssl libs/clients."}}