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

insights-client failing with error "InvalidChunkLength(got length b'', 0 bytes read"

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Normal Normal
    • None
    • None
    • insights-client
    • None
    • Moderate
    • rhel-sst-csi-client-tools
    • None
    • None
    • None
    • None
    • None
    • None

      insights-client command and service is failing with error:
      Failed to update rules. Error: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))

      1. insights-client --register
        Failed to update rules. Error: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
      2. insights-client --status
        Failed to update rules. Error: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
      1. systemctl status insights-client
        × insights-client.service - Insights Client
        Loaded: loaded (/usr/lib/systemd/system/insights-client.service; static)
        Active: failed (Result: exit-code) since Tue 2024-01-23 16:30:42 UTC; 39s ago
        Duration: 33.315s
        Docs: man:insights-client(8)
        Process: 227192 ExecStart=/usr/bin/insights-client --retry 3 (code=exited, status=1/FAILURE)
        Main PID: 227192 (code=exited, status=1/FAILURE)
        CPU: 1.734s

      Jan 23 16:30:08 systemd[1]: Started Insights Client.
      Jan 23 16:30:41 insights-client[227201]: Failed to update rules. Error: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got l>
      Jan 23 16:30:42 systemd[1]: insights-client.service: Main process exited, code=exited, status=1/FAILURE
      Jan 23 16:30:42 systemd[1]: insights-client.service: Failed with result 'exit-code'.
      Jan 23 16:30:42 systemd[1]: insights-client.service: Consumed 1.734s CPU time.

      Reported on :

      # ll /var/lib/insights/
      total 1292
      -rw-r--r--. 1 root root 1318558 Jan 30 09:10 last_stable.egg
      -rw-r--r--. 1 root root     819 Jan 30 09:05 last_stable.egg.asc
      
      # insights-client --version
      Client: 3.2.2
      Core: 3.3.4-1
      
      [root@Client ~]# insights-client --register
      Failed to update rules. Error: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))
      

              csi-client-tools-bugs CSI Client Tools Bugs Bot
              rhn-support-achadha Arvinder Singh Chadha
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              CSI Client Tools Bugs Bot CSI Client Tools Bugs Bot
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: