Revision history [back]

click to hide/show revision 1
initial version

OpenStack Dashboard - Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS)

RHEL 6.5. When I installed Dashboard, I made the change to ALLOWED_HOSTS to add my system's name. When I try to login in, both Chrome and IE give me "an unexpected error has occurred". I've tried both FQDN and just the canonical name. I have no idea what's going on. Can anybody help????

The /var/log/httpd/error_log shows me:

[Wed May 28 19:13:38 2014] [error] Internal Server Error: /dashboard/ [Wed May 28 19:13:38 2014] [error] Traceback (most recent call last): [Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 89, in get_response [Wed May 28 19:13:38 2014] [error] response = middleware_method(request) [Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/middleware/common.py", line 55, in process_request [Wed May 28 19:13:38 2014] [error] host = request.get_host() [Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/http/__init__.py", line 223, in get_host [Wed May 28 19:13:38 2014] [error] "Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): %s" % host) [Wed May 28 19:13:38 2014] [error] SuspiciousOperation: Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): tm1cldctll01

OpenStack Dashboard - Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS)

RHEL 6.5. When I installed Dashboard, I made the change to ALLOWED_HOSTS to add my system's name. When I try to login in, both Chrome and IE give me "an unexpected error has occurred". I've tried both FQDN and just the canonical name. I have no idea what's going on. Can anybody help????

The /var/log/httpd/error_log shows me:

[Wed May 28 19:13:38 2014] [error] Internal Server Error: /dashboard/ /dashboard/ [Wed May 28 19:13:38 2014] [error] Traceback (most recent call last): last): [Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 89, in get_response get_response [Wed May 28 19:13:38 2014] [error] response = middleware_method(request) middleware_method(request) [Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/middleware/common.py", line 55, in process_request process_request [Wed May 28 19:13:38 2014] [error] host = request.get_host() request.get_host() [Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/http/__init__.py", line 223, in get_host get_host [Wed May 28 19:13:38 2014] [error] "Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): %s" % host) host) [Wed May 28 19:13:38 2014] [error] SuspiciousOperation: Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): tm1cldctll01

OpenStack Dashboard - Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS)

RHEL 6.5. When I installed Dashboard, I made the change to ALLOWED_HOSTS to add my system's name. When I try to login in, both Chrome and IE give me "an unexpected error has occurred". I've tried both FQDN and just the canonical name. I have no idea what's going on. Can anybody help????

The /var/log/httpd/error_log shows me:

me:
[Wed May 28 19:13:38 2014] [error] Internal Server Error: /dashboard/
[Wed May 28 19:13:38 2014] [error] Traceback (most recent call last):
[Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 89, in get_response
[Wed May 28 19:13:38 2014] [error] response = middleware_method(request)
[Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/middleware/common.py", line 55, in process_request [Wed May 28 19:13:38 2014] [error] host = request.get_host()
[Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/http/__init__.py", line 223, in get_host
[Wed May 28 19:13:38 2014] [error] "Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): %s" % host)
[Wed May 28 19:13:38 2014] [error] SuspiciousOperation: Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): tm1cldctll01

OpenStack Dashboard - Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS)

RHEL 6.5. When I installed Dashboard, I made the change to ALLOWED_HOSTS to add my system's name. When I try to login in, both Chrome and IE give me "an unexpected error has occurred". I've tried both FQDN and just the canonical name. I have no idea what's going on. Can anybody help????

The /var/log/httpd/error_log shows me:
[Wed May 28 19:13:38 2014] [error] Internal Server Error: /dashboard/
[Wed May 28 19:13:38 2014] [error] Traceback (most recent call last):
[Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 89, in get_response
[Wed May 28 19:13:38 2014] [error] response = middleware_method(request)
[Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/middleware/common.py", line 55, in process_request
[Wed May 28 19:13:38 2014] [error] host = request.get_host()
[Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/http/__init__.py", line 223, in get_host
[Wed May 28 19:13:38 2014] [error] "Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): %s" % host)
[Wed May 28 19:13:38 2014] [error] SuspiciousOperation: Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): tm1cldctll01

click to hide/show revision 5
No.5 Revision

OpenStack Dashboard - Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS)

RHEL 6.5. When I installed Dashboard, I made the change to ALLOWED_HOSTS to add my system's name. When I try to login in, both Chrome and IE give me "an unexpected error has occurred". I've tried both FQDN and just the canonical name. I have no idea what's going on. Can anybody help????

The /var/log/httpd/error_log shows me:
me:

<br>
[Wed May 28 19:13:38 2014] [error] Internal Server Error: /dashboard/
/dashboard/<br> [Wed May 28 19:13:38 2014] [error] Traceback (most recent call last):
last):<br> [Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 89, in get_response
get_response<br> [Wed May 28 19:13:38 2014] [error] response = middleware_method(request)
middleware_method(request)<br> [Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/middleware/common.py", line 55, in process_request
process_request<br> [Wed May 28 19:13:38 2014] [error] host = request.get_host()
request.get_host()<br> [Wed May 28 19:13:38 2014] [error] File "/usr/lib/python2.6/site-packages/django/http/__init__.py", line 223, in get_host
get_host<br> [Wed May 28 19:13:38 2014] [error] "Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): %s" % host)
host)<br> [Wed May 28 19:13:38 2014] [error] SuspiciousOperation: Invalid HTTP_HOST header (you may need to set ALLOWED_HOSTS): tm1cldctll01

tm1cldctll01