- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 127
Open
Description
Hello, getting unhandled excetions:
Unhandled Error
Traceback (most recent call last):
File "/root/honeypot-service/venv/lib/python3.12/site-packages/twisted/internet/posixbase.py", line 486, in _doReadOrWrite
why = selectable.doWrite()
File "/root/honeypot-service/venv/lib/python3.12/site-packages/twisted/internet/base.py", line 1345, in doWrite
raise RuntimeError("doWrite called on a %s" % reflect.qual(self.__class__))
builtins.RuntimeError: doWrite called on a twisted.internet.tcp.Port
Unhandled Error
Traceback (most recent call last):
File "/root/honeypot-service/venv/lib/python3.12/site-packages/twisted/internet/posixbase.py", line 486, in _doReadOrWrite
why = selectable.doWrite()
builtins.AttributeError: '_SIGCHLDWaker' object has no attribute 'doWrite'
when I tried to stop it, it mention:
Exception ignored when trying to write to the signal wakeup fd:
Traceback (most recent call last):
File "/root/honeypot-service/venv/lib/python3.12/site-packages/twisted/internet/base.py", line 829, in sigTerm
def sigTerm(self, number: int, frame: Optional[FrameType] = None) -> None:
OSError: [Errno 9] Bad file descriptor
Process Process-7:
Traceback (most recent call last):
File "/usr/lib/python3.12/multiprocessing/process.py", line 314, in _bootstrap
self.run()
File "/usr/lib/python3.12/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/root/honeypot-service/venv/lib/python3.12/site-packages/honeypots/ldap_server.py", line 96, in server_main
reactor.run()
File "/root/honeypot-service/venv/lib/python3.12/site-packages/twisted/internet/base.py", line 699, in run
self._signals.uninstall()
File "/root/honeypot-service/venv/lib/python3.12/site-packages/twisted/internet/_signals.py", line 196, in uninstall
d.uninstall()
File "/root/honeypot-service/venv/lib/python3.12/site-packages/twisted/internet/_signals.py", line 252, in uninstall
self._removeInternalReader(self._childWaker)
File "/root/honeypot-service/venv/lib/python3.12/site-packages/twisted/internet/base.py", line 692, in _removeInternalReader
self.removeReader(reader)
File "/root/honeypot-service/venv/lib/python3.12/site-packages/twisted/internet/epollreactor.py", line 178, in removeReader
self._remove(
File "/root/honeypot-service/venv/lib/python3.12/site-packages/twisted/internet/epollreactor.py", line 153, in _remove
fd = xer.fileno()
^^^^^^^^^^^^
File "/root/honeypot-service/venv/lib/python3.12/site-packages/twisted/internet/_signals.py", line 369, in <lambda>
self.fileno = lambda: self.i
^^^^^^
AttributeError: '_SIGCHLDWaker' object has no attribute 'i'
I guess, it is related to LDAP, after disabling, was working normally, but it is only guess.
Activity