D
D
des1roer2016-01-13 08:54:49
open server
des1roer, 2016-01-13 08:54:49

Composer connect through proxy?

I use the OpenServer console I write the
proxy
set http_proxy= http://proxy.***.**:****/
set https_proxy= http://proxy.***.**:****/
with
composer self -update
getting
[Composer\Downloader\TransportException] The " https://getcomposer.org/version " file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
failed to open stream: Cannot connect to HTTPS server through proxy proxy
settings are correct. Has something changed in the security policy? something needs to be updated? because it used to work quite well for itself
> composer diag
Warning: This development build of composer is over 60 days old. It is recommended to update it by running "d:\openserver\modules\php\PHP-5.4\composer.phar self-update" to get the latest version.
Checking composer.json: FAIL
require.yiisoft/yii2 : unbound version constraints (>=2.0.5) should be avoided
require.yiisoft/yii2-bootstrap : unbound version constraints (*) should be avoided
require.yiisoft/yii2-swiftmailer : unbound version constraints (*) should be avoided
Checking platform settings: OK
Checking git settings: OK
Checking http connectivity to packagist: FAIL
[Composer\Downloader\TransportException] The " packagist.org/packages.json" file could not be downloaded (HTTP/1.0 407 Proxy Authentication Required)
Checking https connectivity to packagist: FAIL
[Composer\Downloader\TransportException] The " https://packagist.org/packages.json " file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
failed to open stream: Cannot connect to HTTPS server through proxy
Checking HTTP proxy: FAIL
[Composer\Downloader\TransportException] The " https:/ /packagist.org/packages.json " file could not be downloaded: failed to open stream: Cannot connect to HTTPS server through proxy
Checking HTTP proxy support for request_fulluri: FAIL
It seems there is a problem with your proxy server, try setting the "HTTP_PROXY_REQUEST_FULLURI" and "HTTPS_PROXY_REQUEST_FULLURI" environment variables to "false"
Checking HTTPS proxy support for request_fulluri: FAIL
Unable to assess the situation, maybe github is down (The " https: //api.github.com/repos/Seldaek/jsonlint/zipb... " file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
failed to open stream: Cannot connect to HTTPS server through proxy)
Checking github.com oauth access: FAIL
[Composer\Downloader\TransportException] The " https://api.github.com/user/repos" file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
failed to open stream: Cannot connect to HTTPS server through proxy
Checking disk free space: OK
Checking composer version :
[Composer\Downloader\TransportException]
The " https://getcomposer.org/version " file could not be downloaded: SSL operation failed with code 1. OpenSSL Error messages:
error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol
failed to open stream: Cannot connect to HTTPS server through proxy

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question