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

mitogen.core.ChannelError #1029

Open
kathyl21 opened this issue Oct 30, 2023 · 4 comments
Open

mitogen.core.ChannelError #1029

kathyl21 opened this issue Oct 30, 2023 · 4 comments
Labels
affects-0.3 Issues related to 0.3.X Mitogen releases bug Code feature that hinders desired execution outcome

Comments

@kathyl21
Copy link

kathyl21 commented Oct 30, 2023

I have an ansible playbook that seems to run fine on some hosts and not on others. This morning I got the following error:

mitogen.core.ChannelError: the respondent Context has disconnected.

I'm using mitogen 0.3.4 and Ansible core 2.2.10. Python version is 3.92. I'm running from a Debian 11 host.

@kathyl21 kathyl21 added affects-0.3 Issues related to 0.3.X Mitogen releases bug Code feature that hinders desired execution outcome labels Oct 30, 2023
@arrfab
Copy link

arrfab commented Apr 17, 2024

Wanted to create an issue for this but I just hit the same error with mitogen 0.3.7, ansible-core 2.14.14 (python version = 3.9.18)


ERROR! [task 154152] 14:29:50.303138 E mitogen: broker crashed
Traceback (most recent call last):
  File "/var/lib/ansible-staging/mitogen/mitogen/core.py", line 3758, in _do_broker_main
    self._loop_once()
  File "/var/lib/ansible-staging/mitogen/mitogen/core.py", line 3713, in _loop_once
    for side, func in self.poller.poll(timeout):
  File "/var/lib/ansible-staging/mitogen/mitogen/core.py", line 2635, in _poll
    (rfds, wfds, _), _ = io_op(select.select,
  File "/var/lib/ansible-staging/mitogen/mitogen/core.py", line 599, in io_op
    return func(*args), None
ValueError: filedescriptor out of range in select()
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: mitogen.core.ChannelError: Broker has exitted
fatal: [host.stg.domain.org]: FAILED! => {"msg": "Unexpected failure during module execution: Broker has exitted", "stdout": ""}
ERROR! [task 154153] 14:29:50.327965 E mitogen: broker crashed

@arrfab
Copy link

arrfab commented Apr 17, 2024

seems to be related to #957 ?

@arrfab
Copy link

arrfab commented Apr 17, 2024

@moreati : fwiw, patched 0.3.7 tag/release with https://github.com/mitogen-hq/mitogen/pull/984/files and symptom disappeared (all running fine). I'll keep testing (staging env here) and report/give feedback here

@ohdearaugustin
Copy link

I have the same issue. I also used the mentioned patch and everything is working again.

Please merge #984

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-0.3 Issues related to 0.3.X Mitogen releases bug Code feature that hinders desired execution outcome
Projects
None yet
Development

No branches or pull requests

3 participants