Red Hat Bugzilla – Bug 1020949
Broken reading https page via port#8443
Last modified: 2015-05-14 19:30:43 EDT
Description of problem:
When reading page via https://...:8443/ it breaks in the middle with the following message (from curl):
* nread <= 0, server closed connection, bailing
* transfer closed with outstanding read data remaining
* Closing connection #0
* SSLv3, TLS alert, Client hello (1):
curl: (18) transfer closed with outstanding read data remaining
all other ports work correctly - http/80, http/8080, https/443
Version-Release number of selected component (if applicable):
devenv-stage_496 (ami-ffce9e96) and recents devenv
Steps to Reproduce:
1. create a php app
2. try to access it via https://....:8443/
the output should not be broken.
I cannot reproduce on devenv_3924
It cannot be reproduced on devenv_3926, so mark as VERIFIED
This is an issue on the latest devenv: devenv_4053 (ami-e1c5e288).
First, create a php app:
rhc create-app p1 php-5.3
Second, add a phpinfo.php file to the php/ directory in the app repo:
echo "<?php phpinfo(); ?>" > phpinfo.php
git commit and git push
Third, try to curl the app url, specifically the :8443 port.
curl -k -X GET https://p1-testdomain1.dev.rhcloud.com:8443/phpinfo.php
You should notice that the full file is not output. It is cut off halfway, as compared to the other ports (80, 443, 8000, etc). Curl also exits with Exit Status 18, which, according to the man pages:
A file transfer was shorter or larger than expected. This happens when the server first reports an expected transfer size, and then delivers data that doesn't match the previously given size.
This also occurs with our ruby test framework.
I forgot to mention, run: echo $? after the curl command to see the exit status.