Roundup Tracker - Issues

Message8440

Author rouilj
Recipients rboylan, rouilj
Date 2026-05-18.18:59:08
Message-id <1779130748.32.0.966698528918.issue2551417@roundup-tracker.org>
In-reply-to
Hi Ross:

I'm unable to generate a BrokenPipeError using the tools I have.

However, I do now understand the reason a BrokenPipeError generated
two more exceptions. The last resort Exception handler tries to report
the problem to the client. When the client is gone, it produces more
exceptions when writing to the closed socket.

I added the following near line 284 in roundup/scripts/roundup_server.py:

     except (BrokenPipeError, ConnectionAbortedError, ConnectionResetError) as e:
         self.log_info("Client has gone: %s", e)

right before:

    except Exception:

whose block includes the words "EXCEPTION AT".

Can you patch the code and verify that you do not get a traceback on a BrokenPipeError
and instead get a log message.

Thanks.

-- rouilj
History
Date User Action Args
2026-05-18 18:59:08rouiljsetmessageid: <1779130748.32.0.966698528918.issue2551417@roundup-tracker.org>
2026-05-18 18:59:08rouiljsetrecipients: + rouilj, rboylan
2026-05-18 18:59:08rouiljlinkissue2551417 messages
2026-05-18 18:59:08rouiljcreate