diff --git a/ckSite/__pycache__/settings.cpython-311.pyc b/ckSite/__pycache__/settings.cpython-311.pyc index a38ee5a..ae46079 100644 Binary files a/ckSite/__pycache__/settings.cpython-311.pyc and b/ckSite/__pycache__/settings.cpython-311.pyc differ diff --git a/ckSite/settings.py b/ckSite/settings.py index 90b83fe..5e5a1f2 100644 --- a/ckSite/settings.py +++ b/ckSite/settings.py @@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-$^3k*uy-esr4x^5954g%e54^cj@j3w6)==$-0yd@myh8-rj!da # SECURITY WARNING: don't run with debug turned on in production! DEBUG = True -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ['*'] # Application definition diff --git a/ckserver.log b/ckserver.log index b2e0435..1189e63 100644 --- a/ckserver.log +++ b/ckserver.log @@ -1 +1,36 @@ 2025-09-09 02:58:06,184 - INFO - /home/user/ckServer/persistmods/views.py changed, reloading. +2025-09-14 22:58:57,387 - ERROR - Invalid HTTP_HOST header: '10.137.0.13:8000'. You may need to add '10.137.0.13' to ALLOWED_HOSTS. +2025-09-14 22:58:57,515 - WARNING - Bad Request: /start +2025-09-14 22:58:57,708 - ERROR - Invalid HTTP_HOST header: '10.137.0.13:8000'. You may need to add '10.137.0.13' to ALLOWED_HOSTS. +2025-09-14 22:58:57,745 - WARNING - Bad Request: /favicon.ico +2025-09-14 23:02:31,497 - INFO - /home/user/ckServer/ckSite/settings.py changed, reloading. +2025-09-14 23:02:45,161 - WARNING - Not Found: /start +2025-09-14 23:02:45,215 - WARNING - Not Found: /favicon.ico +2025-09-14 23:04:45,655 - WARNING - Not Found: /persistmods(start +2025-09-14 23:04:59,799 - INFO - module created +2025-09-14 23:04:59,833 - ERROR - Internal Server Error: /persistmods/start +Traceback (most recent call last): + File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 47, in inner + response = get_response(request) + ^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 181, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/user/ckServer/persistmods/views.py", line 21, in start + return HttpResponse(nodetype+" "+nodename) + ~~~~~~~~^~~~ +TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' +2025-09-14 23:06:21,887 - INFO - module created +2025-09-14 23:06:21,948 - ERROR - Internal Server Error: /persistmods/start +Traceback (most recent call last): + File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 47, in inner + response = get_response(request) + ^^^^^^^^^^^^^^^^^^^^^ + File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 181, in _get_response + response = wrapped_callback(request, *callback_args, **callback_kwargs) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/user/ckServer/persistmods/views.py", line 21, in start + return HttpResponse(nodetype+" "+nodename) + ~~~~~~~~^~~~ +TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' +2025-09-14 23:07:21,479 - INFO - module created