I'm new to Django, and I recently set up an experimental website using AWS's Lightsail service. I've got the website working in the sense that I can access it from any computer with an internet connection, and the various pages are functioning as designed. However, when I check Django's log, I notice that there is one particular error message which appears multiple times:
----------------------------------------
Exception happened during processing of request from ('<IP ADDRESS>', <5-digit number>)
Traceback (most recent call last):
File "/opt/bitnami/python/lib/python3.7/socketserver.py", line 650, in process_request_thread
self.finish_request(request, client_address)
File "/opt/bitnami/python/lib/python3.7/socketserver.py", line 360, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/opt/bitnami/python/lib/python3.7/socketserver.py", line 720, in __init__
self.handle()
File "/opt/bitnami/apps/django/lib/python3.7/site-packages/Django-2.2.9-py3.7.egg/django/core/servers/basehttp.py", line 169, in handle
self.handle_one_request()
File "/opt/bitnami/apps/django/lib/python3.7/site-packages/Django-2.2.9-py3.7.egg/django/core/servers/basehttp.py", line 179, in handle_one_request
self.raw_requestline = self.rfile.readline(65537)
File "/opt/bitnami/python/lib/python3.7/socket.py", line 589, in readinto
return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer
----------------------------------------
The <IP ADDRESS> and <5-digit number> are different in each instance of this error, but the rest of the message is apparently constant.
Unfortunately, I don't know how to produce the error, as I've never caused it myself. The error is apparently caused by hackers/bots attempting to break the website, given that it appears in the context of other malicious-looking entries in the log.
I'm concerned that this error message may indicate a security vulnerability in my website. Can anyone explain to me what it means?