Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable all error #124

Open
ikeas68 opened this issue Mar 21, 2023 · 0 comments
Open

disable all error #124

ikeas68 opened this issue Mar 21, 2023 · 0 comments

Comments

@ikeas68
Copy link

ikeas68 commented Mar 21, 2023

hello
i have many time this error (in using modbus)
Exception happened during processing of request from ('10.7.25.7', 52879) Traceback (most recent call last): File "/usr/lib/python3.8/socketserver.py", line 683, in process_request_thread self.finish_request(request, client_address) File "/usr/lib/python3.8/socketserver.py", line 360, in finish_request self.RequestHandlerClass(request, client_address, self) File "/usr/lib/python3.8/socketserver.py", line 747, in __init__ self.handle() File "/usr/local/lib/python3.8/dist-packages/umodbus/server/__init__.py", line 42, in handle mbap_header = recv_exactly(self.request.recv, 7) File "/usr/local/lib/python3.8/dist-packages/umodbus/utils.py", line 132, in recv_exactly chunk = recv_fn(size - recv_bytes) ConnectionResetError: [Errno 104] Connection reset by peer

i try to use
log_to_stream(level = logging.CRITICAL)
but i have allways this message
how i can't suppress it ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant