Bug 1022956
Summary: | HTTP GET request method to deployed Openshift application's URL with specified HTTP port 80 is redirected to weird HTTPS address. | |||
---|---|---|---|---|
Product: | OpenShift Online | Reporter: | Emil Cervenan <ecervena> | |
Component: | Containers | Assignee: | mfisher | |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | 2.x | CC: | agrimm, bmeng, lcestari, maschmid, xtian, yadu | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | Bug Fix | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1025307 (view as bug list) | Environment: | ||
Last Closed: | 2013-12-17 19:55:09 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1025307 |
Description
Emil Cervenan
2013-10-24 11:09:36 UTC
This behaviour is not restricted to jbosseap cartridge only. See Additional info. Modified the regular expressions to strip port number off the host header when we construct an app name for matching. https://github.com/openshift/origin-server/pull/3982 $ nc rmtest-rmillner0160.dev.rhcloud.com 80 GET / HTTP/1.1 Host: rmtest-rmillner0160.dev.rhcloud.com:80 HTTP/1.1 200 OK Date: Thu, 24 Oct 2013 18:24:38 GMT Server: Apache/2.2.15 (Red Hat) Content-Length: 5235 Content-Type: text/html; charset=UTF-8 Vary: Accept-Encoding,User-Agent ProxyTime: D=7782218 ... Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/a5930b7dd00f5bf3171ef8e4ef03f198b0401a1b Bug 1022956 - Strip trailing port number off the host header. # curl -I http://php1-bmengdev.dev.rhcloud.com:80/ HTTP/1.1 200 OK Date: Mon, 28 Oct 2013 10:50:57 GMT Server: Apache/2.2.15 (Red Hat) Content-Type: text/html; charset=UTF-8 Vary: Accept-Encoding,User-Agent ProxyTime: D=2500 Checked on devenv_3953, the http request return correct code 200. Move bug to verified. *** Bug 1028091 has been marked as a duplicate of this bug. *** This was released to OpenShift Online's production environment in 2.0.36. |