[Neos] Neos - installation failed behind a proxy
Karsten Schulze
kaschulze at web.de
Mon Jun 26 00:08:19 CEST 2017
Hi,
I am not able to install Neos behind a proxy.
Environment:
Linux 4.4.0-81-generic #104-Ubuntu SMP Wed Jun 14 08:17:06 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 16.04.2 LTS
Apache/2.4.18 (Ubuntu)
PHP 7.0.18-0ubuntu0.16.04.1 (cli) ( NTS )
$ printenv |grep PROXY
NO_PROXY=localhost,127.0.0.1
FTP_PROXY=f t p : / / 192.168.1.40:3128
HTTPS_PROXY=h t t p s : / / 192.168.1.40:3128
HTTP_PROXY_REQUEST_FULLURI=0
HTTP_PROXY=h t t p : / / 192.168.1.40:3128
HTTPS_PROXY_REQUEST_FULLURI=0
$ printenv |grep proxy
http_proxy_request_fulluri=0
http_proxy=h t t p : / / 192.168.1.40:3128
ftp_proxy=f t p : / / 192.168.1.40:3128
https_proxy= h t t p s : / / 192.168.1.40:3128
no_proxy=localhost,127.0.0.1
https_proxy_request_fulluri=0
I've got the composer installed, but the installation of Neos failed always with the message: SSL23_GET_SERVER_HELLO:unknown protocol
See here the output:
$ composer create-project -vvv --no-dev neos/neos-base-distribution .
Reading /home/karsten/.composer/composer.json
Loading config file /home/karsten/.composer/composer.json
Checked CA file /etc/ssl/certs/ca-certificates.crt: valid
Executing command (/home/karsten/.composer): git branch --no-color --no-abbrev -v
Executing command (/home/karsten/.composer): git describe --exact-match --tags
Executing command (/home/karsten/.composer): git log --pretty="%H" -n1 HEAD
Running 1.3.1 (2017-01-07 18:08:51) with PHP 7.0.18-0ubuntu0.16.04.1 on Linux / 4.4.0-81-generic
Downloading h t t p s : / / packagist.org/packages.json using proxy ssl://192.168.1.40:3128
Downloading h t t p s : / / packagist.org/packages.json using proxy ssl://192.168.1.40:3128
Downloading h t t p s : / / packagist.org/packages.json using proxy ssl://192.168.1.40:3128
[Composer\Downloader\TransportException]
The "h t t p s : / / 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 enable crypto
Exception trace:
..
I am able to get the json file using wget:
$ wget h t t p s : / / packagist.org/packages.json
--2017-06-25 13:16:12-- h t t p s : / / packagist.org/packages.json
Connecting to 192.168.1.40:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 1302 (1,3K) [application/json]
Saving to: 'packages.json'
packages.json 100%[=========================================================================================>] 1,27K --.-KB/s in 0s
2017-06-25 13:16:12 (166 MB/s) - 'packages.json' saved [1302/1302]
What is wrong? Should I configure php in a different way? Any help is appreciated - thanks.
More information about the Neos
mailing list