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

Socket accept exception (Err 53) not catched ... #9

Open
mohierf opened this issue Aug 27, 2015 · 1 comment
Open

Socket accept exception (Err 53) not catched ... #9

mohierf opened this issue Aug 27, 2015 · 1 comment
Labels

Comments

@mohierf
Copy link
Contributor

mohierf commented Aug 27, 2015

Regularly the receiver module goes down because of an exception

[1440607568] ERROR: [receiver-master] [nsca] Traceback (most recent call last):
  File "/usr/local/lib/python2.7/site-packages/Shinken-2.4_rc4-py2.7.egg/shinken/basemodule.py", line 164, in start_module
    self._main()
  File "/usr/local/lib/python2.7/site-packages/Shinken-2.4_rc4-py2.7.egg/shinken/basemodule.py", line 296, in _main
    self.main()
  File "/usr/local/libexec/shinken/modules/nsca/module.py", line 217, in main
    client, _ = server.accept()
  File "/usr/local/lib/python2.7/socket.py", line 206, in accept
    sock, addr = self._sock.accept()
error: [Errno 53] Software caused connection abort
@mohierf mohierf added the bug label Aug 27, 2015
@mohierf
Copy link
Contributor Author

mohierf commented Aug 27, 2015

On FreeBSD this exception is raised by the server because a client closed a pending socket before it has been opened ... indeed it does not seem to be a bug!

The module should catch this exception for not going down ...

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

No branches or pull requests

1 participant