{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/1783","labels_url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/1783/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/1783/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/1783/events","html_url":"https://github.com/Homebrew/homebrew-php/issues/1783","id":87796121,"number":1783,"title":"php 5.6.10 - The requested URL returned error: 401 Unauthorized","user":{"login":"craigcarnell","id":1188869,"avatar_url":"https://avatars.githubusercontent.com/u/1188869?v=3","gravatar_id":"","url":"https://api.github.com/users/craigcarnell","html_url":"https://github.com/craigcarnell","followers_url":"https://api.github.com/users/craigcarnell/followers","following_url":"https://api.github.com/users/craigcarnell/following{/other_user}","gists_url":"https://api.github.com/users/craigcarnell/gists{/gist_id}","starred_url":"https://api.github.com/users/craigcarnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/craigcarnell/subscriptions","organizations_url":"https://api.github.com/users/craigcarnell/orgs","repos_url":"https://api.github.com/users/craigcarnell/repos","events_url":"https://api.github.com/users/craigcarnell/events{/privacy}","received_events_url":"https://api.github.com/users/craigcarnell/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-06-12T17:24:57Z","updated_at":"2015-06-14T16:53:32Z","closed_at":null,"body":"```\r\nbrew upgrade\r\n==> Upgrading 4 outdated packages, with result:\r\nmemcached 1.4.24, homebrew/php/php56 5.6.10, homebrew/php/php56-mcrypt 5.6.10, homebrew/php/php56-opcache 5.6.10\r\nError: You must `brew link libevent' before memcached can be installed\r\n==> Upgrading homebrew/php/php56\r\n==> Downloading https://homebrew.bintray.com/bottles-php/php56-5.6.10.yosemite.bottle.tar.gz\r\n\r\ncurl: (22) The requested URL returned error: 401 Unauthorized\r\nError: Failed to download resource \"php56\"\r\nDownload failed: https://homebrew.bintray.com/bottles-php/php56-5.6.10.yosemite.bottle.tar.gz\r\nWarning: Bottle installation failed: building from source.\r\n==> Downloading https://www.php.net/get/php-5.6.10.tar.bz2/from/this/mirror\r\n\r\ncurl: (60) SSL certificate problem: Invalid certificate chain\r\nMore details here: http://curl.haxx.se/docs/sslcerts.html\r\n\r\ncurl performs SSL certificate verification by default, using a \"bundle\"\r\n of Certificate Authority (CA) public keys (CA certs). If the default\r\n bundle file isn't adequate, you can specify an alternate file\r\n using the --cacert option.\r\nIf this HTTPS server uses a certificate signed by a CA represented in\r\n the bundle, the certificate verification probably failed due to a\r\n problem with the certificate (it might be expired, or the name might\r\n not match the domain name in the URL).\r\nIf you'd like to turn off curl's verification of the certificate, use\r\n the -k (or --insecure) option.\r\nError: Failed to download resource \"php56\"\r\nDownload failed: https://www.php.net/get/php-5.6.10.tar.bz2/from/this/mirror\r\n==> Upgrading homebrew/php/php56-mcrypt\r\n==> Upgrading homebrew/php/php56-opcache\r\n```"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/comments/111850585","html_url":"https://github.com/Homebrew/homebrew-php/issues/1783#issuecomment-111850585","issue_url":"https://api.github.com/repos/Homebrew/homebrew-php/issues/1783","id":111850585,"user":{"login":"KvanSteijn","id":3213947,"avatar_url":"https://avatars.githubusercontent.com/u/3213947?v=3","gravatar_id":"","url":"https://api.github.com/users/KvanSteijn","html_url":"https://github.com/KvanSteijn","followers_url":"https://api.github.com/users/KvanSteijn/followers","following_url":"https://api.github.com/users/KvanSteijn/following{/other_user}","gists_url":"https://api.github.com/users/KvanSteijn/gists{/gist_id}","starred_url":"https://api.github.com/users/KvanSteijn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KvanSteijn/subscriptions","organizations_url":"https://api.github.com/users/KvanSteijn/orgs","repos_url":"https://api.github.com/users/KvanSteijn/repos","events_url":"https://api.github.com/users/KvanSteijn/events{/privacy}","received_events_url":"https://api.github.com/users/KvanSteijn/received_events","type":"User","site_admin":false},"created_at":"2015-06-14T16:53:32Z","updated_at":"2015-06-14T16:53:32Z","body":"I have the same error, but i can't found any link in the code. I used the command brew edit php56."}}