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

ZEROMQ fails to close ports when scripts ended #39

Open
lottiegreenwood opened this issue May 9, 2016 · 0 comments
Open

ZEROMQ fails to close ports when scripts ended #39

lottiegreenwood opened this issue May 9, 2016 · 0 comments
Labels

Comments

@lottiegreenwood
Copy link
Collaborator

Even after killing all python processes, when rerunning scripts, errors show about ports being still in use

2016-05-09 14:00:30.667 - INFO - backend_event_listener - Starting EventListener...
2016-05-09 14:00:30.667 - INFO - backend_event_listener - Connected to event streamer at tcp://localhost:10001
Exception in thread Thread-2:
Traceback (most recent call last):
  File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.7/threading.py", line 763, in run
    self.__target(*self.__args, **self.__kwargs)
  File "backend/zmq_queue.py", line 26, in run
    self._connect(self._host, self._port)
  File "backend/zmq_queue.py", line 43, in _connect
    self._socket.bind(uri)
  File "socket.pyx", line 434, in zmq.backend.cython.socket.Socket.bind (zmq/backend/cython/socket.c:3928)
  File "checkrc.pxd", line 21, in zmq.backend.cython.checkrc._check_rc (zmq/backend/cython/socket.c:6058)
ZMQError: Address already in use
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