Invalid HTTP_HOST header: '192.168.1.52:8000'. You may need to add u'192.168.1.52' to ALLOWED_HOSTS.
Request Method: | GET |
---|---|
Request URL: | http://192.168.1.52:8000/a/localdev/fixtures/edit_lookup_tables/ |
Django Version: | 1.10.7 |
Exception Type: | DisallowedHost |
Exception Value: | Invalid HTTP_HOST header: '192.168.1.52:8000'. You may need to add u'192.168.1.52' to ALLOWED_HOSTS. |
Exception Location: | /home/commcarehq/local/lib/python2.7/site-packages/django/http/request.py in get_host, line 113 |
Python Executable: | /home/commcarehq/bin/python |
Python Version: | 2.7.12 |
Python Path: | ['/home/commcarehq/commcare-hq', 'custom/_legacy', 'corehq/ex-submodules', 'submodules/langcodes', 'submodules/couchdbkit-aggregate', 'submodules/django-prbac-src', 'submodules/vellum', 'submodules/formtranslate-src', 'submodules/xml2json', 'submodules/django-digest-src', 'submodules/django-no-exceptions', 'submodules/commcare-translations', 'submodules/auditcare-src', 'submodules/dimagi-utils-src', 'submodules/touchforms-src', 'submodules/python-digest', '/home/commcarehq/lib/python2.7', '/home/commcarehq/lib/python2.7/plat-x86_64-linux-gnu', '/home/commcarehq/lib/python2.7/lib-tk', '/home/commcarehq/lib/python2.7/lib-old', '/home/commcarehq/lib/python2.7/lib-dynload', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/home/commcarehq/local/lib/python2.7/site-packages', 'submodules'] |
Server time: | Sat, 8 Jul 2017 00:38:46 +0000 |
All seemed well on this install on my local ubuntu 16.04 server.......Commcare HQ web site comes up and I am able to navigate througout the application and create forms as well..........
however when i go to the lookup table applicaition on the Manage table application this is showing up.... I have the default host set in the localsettings.py and the django.config.......not sure what im missing........if the host was not correct the whole application would not work........correct? so why just this part.(at least this is the first one that I found)
Any help getting this troubleshot would be appreciated.
I followed the production install instructions here.....https://github.com/dimagi/commcare-hq/blob/master/PRODUCTION-INSTALL.md
ubuntu server 16.04 LTS with 16g ramDisallowedHost at /a/localdev/fixtures/edit_lookup_tables/
Invalid HTTP_HOST header: '192.168.1.52:8000'. You may need to add u'192.168.1.52' to ALLOWED_HOSTS.
--
---
You received this message because you are subscribed to the Google Groups "CommCare Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to commcare-develo...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.