-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot download any file with https behind the proxy #3120
Comments
@rdlowrey do you have an idea ? |
This is actually a bug in the 5.6 implementation that someone else recently stumbled upon and brought to my attention. It's 100% a problem in RC2 (and all previous 5.6 builds) where if you're behind an HTTP proxy you cannot connect to an encrypted resource with streams. I'll be working on this over the next couple of days and hope to have it sorted this weekend. So until RC3 there's not really anything you can do if you're behind a proxy. I will update the issue once the bug is fixed in php-src. Thanks for the ping and thanks to @NTag for trying out the release candidates to help find bugs like this before 5.6 is released 👍 |
Oh, BTW @stof as I'm debugging I see this line in the output (bold mine):
That should probably be |
I've verified the bug and fixed this locally. After I submit the report at bugs.php.net and commit the necessary changes to php-src I'll post here with the relevant links so you can close the issue (later this evening or tomorrow). For completeness note that I now see the following output behind a proxy server (locally) where before I was receiving the original error.
|
This problem has been fixed in the PHP-5.6 and master branches by commit f3bf887e6d. The 5.6.0RC3 release will incorporate these changes. The full bug report and analysis can be found here: Please let me know if further problems arise and thanks again for using the RC releases to help eliminate as many bugs as possible prior to the official release 👍 . |
I am using Composer version e77435c 2014-07-02 15:44:54.
I am using a proxy; wget, curl and my browser are working.
But composer cannot download any file in https, and gives ssl errors.
composer diag:
http_proxy
andhttps_proxy
are seted.php version:
PHP 5.6.0RC2 (cli) (built: Jul 8 2014 08:41:48)
OpenSSL version:
OpenSSL/1.0.1i
cURL version:
7.37.0
The text was updated successfully, but these errors were encountered: