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

Worker crashes if there's an error when fetching new jobs #31

Closed
alexmic opened this issue Aug 6, 2020 · 1 comment
Closed

Worker crashes if there's an error when fetching new jobs #31

alexmic opened this issue Aug 6, 2020 · 1 comment

Comments

@alexmic
Copy link

alexmic commented Aug 6, 2020

For example, if there's a timeout, the worker will crash. Relevant traceback:

timeout: The read operation timed out
  File "entry.py", line 36, in <module>
    w.run()
  File "faktory/worker.py", line 149, in run
    self.tick()
  File "inventory/common/faktory/worker.py", line 84, in tick
    job = self.faktory.fetch(self.get_queues())
  File "faktory/_proto.py", line 160, in fetch
    job = next(self.get_message())
  File "faktory/_proto.py", line 115, in get_message
    buffer = socket.recv(self.buffer_size)
  File "ssl.py", line 1056, in recv
    return self.read(buflen)
  File "ssl.py", line 931, in read
    return self._sslobj.read(len)
@cdrx
Copy link
Owner

cdrx commented Apr 30, 2022

Version 1.0.0 has some fixes that should have resolved these issues. Could you please retry with that version and open a new issue if you still have this problem?

@cdrx cdrx closed this as completed Apr 30, 2022
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

2 participants