Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-5341

[rhel-9.3.z] large file uploads crash: AttributeError: 'SubprocessStreamChannel' object has no attribute '_last_ping'

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Undefined Undefined
    • rhel-9.3.0.z
    • rhel-9.3.0
    • cockpit
    • None
    • cockpit-300.3-1.el9_3
    • None
    • None
    • rhel-sst-cockpit
    • ssg_front_door
    • None
    • Dev ack
    • False
    • Hide

      None

      Show
      None
    • None
    • Red Hat Enterprise Linux
    • None
    • All
    • None

      I was testing cockpit-navigator and file uploading.

      This results in a bridge crash, and thousands of these journal messages:

      asyncio-ERROR: Exception in callback _Transport._write_ready()
      handle: <Handle _Transport._write_ready()>
      Traceback (most recent call last):
        File "/usr/lib64/python3.11/asyncio/events.py", line 80, in _run
          self._context.run(self._callback, *self._args)
        File "/usr/lib/python3.11/site-packages/cockpit/transports.py", line 189, in _write_ready
          self._remove_write_queue()
        File "/usr/lib/python3.11/site-packages/cockpit/transports.py", line 197, in _remove_write_queue
          self._protocol.resume_writing()
        File "/usr/lib/python3.11/site-packages/cockpit/channel.py", line 405, in resume_writing
          if self._last_ping is not None:
             ^^^^^^^^^^^^^^^
      AttributeError: 'SubprocessStreamChannel' object has no attribute '_last_ping'
      

      See https://github.com/cockpit-project/cockpit/issues/19323 for the corresponding upstream issue.

              rhn-engineering-mpitt Martin Pitt
              rhn-engineering-mpitt Martin Pitt
              Martin Pitt Martin Pitt
              Jan Scotka Jan Scotka
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: