跟丧尸围城一样
django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '
123456.czxcz.cn:8000'. You may need to add '
123456.czxcz.cn' to ALLOWED_HOSTS.
Invalid HTTP_HOST header: '
123456.czxcz.cn:8000'. You may need to add '
123456.czxcz.cn' to ALLOWED_HOSTS.
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/django/core/handlers/
exception.py", line 55, in inner
response = get_response(request)
File "/usr/local/lib/python3.13/site-packages/django/utils/
deprecation.py", line 128, in __call__
response = self.process_request(request)
File "/usr/local/lib/python3.13/site-packages/django/middleware/
common.py", line 48, in process_request
host = request.get_host()
File "/usr/local/lib/python3.13/site-packages/django/http/
request.py", line 151, in get_host
raise DisallowedHost(msg)
django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '
123456.czxcz.cn:8000'. You may need to add '
123456.czxcz.cn' to ALLOWED_HOSTS.
Bad Request: /robots.txt
Bad Request: /robots.txt
Invalid HTTP_HOST header: '
123456.czxcz.cn:8000'. You may need to add '
123456.czxcz.cn' to ALLOWED_HOSTS.
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/django/core/handlers/
exception.py", line 55, in inner
response = get_response(request)
File "/usr/local/lib/python3.13/site-packages/django/utils/
deprecation.py", line 128, in __call__
response = self.process_request(request)
File "/usr/local/lib/python3.13/site-packages/django/middleware/
common.py", line 48, in process_request
host = request.get_host()
File "/usr/local/lib/python3.13/site-packages/django/http/
request.py", line 151, in get_host
raise DisallowedHost(msg)
django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '
123456.czxcz.cn:8000'. You may need to add '
123456.czxcz.cn' to ALLOWED_HOSTS.
Invalid HTTP_HOST header: '
123456.czxcz.cn:8000'. You may need to add '
123456.czxcz.cn' to ALLOWED_HOSTS.
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/django/core/handlers/
exception.py", line 55, in inner
response = get_response(request)
File "/usr/local/lib/python3.13/site-packages/django/utils/
deprecation.py", line 128, in __call__
response = self.process_request(request)
File "/usr/local/lib/python3.13/site-packages/django/middleware/
common.py", line 48, in process_request
host = request.get_host()
File "/usr/local/lib/python3.13/site-packages/django/http/
request.py", line 151, in get_host
raise DisallowedHost(msg)
django.core.exceptions.DisallowedHost: Invalid HTTP_HOST header: '
123456.czxcz.cn:8000'. You may need to add '
123456.czxcz.cn' to ALLOWED_HOSTS.
Bad Request: /sitemap.xml
Bad Request: /sitemap.xml
[2025-02-24 04:01:19 +0800] [17] [WARNING] Invalid request from ip=43.158.213.246: Invalid HTTP request line: '\x16\x03\x01\x00Ã\x01\x00\x00¿\x03\x03~Å]Æø¡ô\x88©}à\x91\x7f¶3p\x11¹öôæË2¡±_¨;@Ë0£\x00\x00\x1aÀ/À+À\x11À\x07À\x13À\tÀ\x14À\n\x00\x05\x00/\x005À\x12\x00\n\x01\x00\x00|\x00\x05\x00\x05\x01\x00\x00\x00\x00\x00\n\x00\x08\x00\x06\x00\x17\x00\x18\x00\x19\x00\x0b\x00\x02\x01\x00\x00#\x00\x00\x00\r\x00&\x00$\x06\x01\x06\x03\x06\x02\x05\x01\x05\x03\x05\x02\x04\x01\x04\x03\x04\x02\x03\x01\x03\x03\x03\x02\x02\x01\x02\x03\x02\x02\x01\x01\x01\x03\x01\x02ÿ\x01\x00\x01\x00\x00(\x00"\x00 a%/k\x00T$\x83\x0eç½6¡©À\x97\x8fEÐ'
[2025-02-24 04:02:26 +0800] [18] [WARNING] Invalid request from ip=43.158.213.246: Invalid HTTP request line: '\x16\x03\x01\x00î\x01\x00\x00ê\x03\x03\x9cø\x98\x9dOÅ1\x06Oë\x83?ÀÃbUÆöë³\rµø³\x16Íu\x11'
Forbidden (Permission denied): /
Traceback (most recent call last):
File "/usr/local/lib/python3.13/site-packages/django/core/handlers/
exception.py", line 55, in inner
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.