Bug 1215648
| Summary: | Reverse proxy in front of JBoss ON does not render the login page but shows the html source of the page | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Operations Network | Reporter: | bkramer <bkramer> |
| Component: | UI | Assignee: | Libor Zoubek <lzoubek> |
| Status: | CLOSED ERRATA | QA Contact: | Matt Mahoney <mmahoney> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | JON 3.3.1 | CC: | fbrychta, iweiss, mmahoney, spinder, theute |
| Target Milestone: | ER01 | Keywords: | Triaged |
| Target Release: | JON 3.3.3 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-07-30 16:43:24 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: | 1215657 | ||
| Bug Blocks: | |||
|
Description
bkramer
2015-04-27 11:39:59 UTC
I was not able to reproduce the issue, my apache did not add any Content-Type header with or without DefaultType in vhost directive. But from what I read, apache somehow puts DefaultType (in your case global default seems to be text/plain) in case it could not determine the content-type from backend server. Endpoint /coregui/login does not return content-type header at all, which probably causes this bug. Bellow fix now set's content-type header, I've tested it's returned from http://localhost:7080/coregui/login and through apache proxy. branch: master link: https://github.com/rhq-project/rhq/commit/a0d5ad940 time: 2015-05-26 13:51:08 +0200 commit: a0d5ad9401e6d401bf4aa8bcb85e4a77a227cc97 author: Libor Zoubek - lzoubek message: Bug 1215648 - Reverse proxy in front of JBoss ON does not render the login page but shows the html source of the page Always set Content-Type text/html when requesting /coregui/login page. Available for test with 3.3.3 ER01 build: https://brewweb.devel.redhat.com/buildinfo?buildID=446732 *Note: jon-server-patch-3.3.0.GA.zip maps to ER01 build of jon-server-3.3.0.GA-update-03.zip. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1525.html |