Uploaded image for project: 'CKI Project'
  1. CKI Project
  2. CKI-6984

QueuesFull: cki.queue.webhooks.datawarehouse-kcidb-forwarder

      Looking at their discord I saw they talking about an expired certificate

      ```
      Failed to submit KCIDB data upstream: Request error.
      Traceback (most recent call last):
      File "/usr/local/lib/python3.13/site-packages/urllib3/connection.py", line 198, in _new_conn
      sock = connection.create_connection(
      (self._dns_host, self.port),
      ...<2 lines>...
      socket_options=self.socket_options,
      )
      File "/usr/local/lib/python3.13/site-packages/urllib3/util/connection.py", line 85, in create_connection
      raise err
      File "/usr/local/lib/python3.13/site-packages/urllib3/util/connection.py", line 73, in create_connection
      sock.connect(sa)
      ~~~~~~~~~~~~^^^^
      ConnectionRefusedError: [Errno 111] Connection refused

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
      File "/usr/local/lib/python3.13/site-packages/urllib3/connectionpool.py", line 787, in urlopen
      response = self._make_request(
      conn,
      ...<10 lines>...
      **response_kw,
      )
      File "/usr/local/lib/python3.13/site-packages/urllib3/connectionpool.py", line 488, in _make_request
      raise new_e
      File "/usr/local/lib/python3.13/site-packages/urllib3/connectionpool.py", line 464, in _make_request
      self._validate_conn(conn)
      ~~~~~~~~~~~~~~~~~~~^^^^^^
      File "/usr/local/lib/python3.13/site-packages/urllib3/connectionpool.py", line 1093, in _validate_conn
      conn.connect()
      ~~~~~~~~~~~~^^
      File "/usr/local/lib/python3.13/site-packages/urllib3/connection.py", line 704, in connect
      self.sock = sock = self._new_conn()
      ~~~~~~~~~~~~~~^^
      File "/usr/local/lib/python3.13/site-packages/urllib3/connection.py", line 213, in _new_conn
      raise NewConnectionError(
      self, f"Failed to establish a new connection:

      {e}

      "
      ) from e
      urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f559ad9e990>: Failed to establish a new connection: [Errno 111] Connection refused

      The above exception was the direct cause of the following exception:

      Traceback (most recent call last):
      File "/usr/local/lib/python3.13/site-packages/requests/adapters.py", line 644, in send
      resp = conn.urlopen(
      method=request.method,
      ...<9 lines>...
      chunked=chunked,
      )
      File "/usr/local/lib/python3.13/site-packages/urllib3/connectionpool.py", line 871, in urlopen
      return self.urlopen(
      ~~~~~~~~~~~~^
      method,
      ^^^^^^^
      ...<13 lines>...
      **response_kw,
      ^^^^^^^^^^^^^^
      )
      ^
      File "/usr/local/lib/python3.13/site-packages/urllib3/connectionpool.py", line 871, in urlopen
      return self.urlopen(
      ~~~~~~~~~~~~^
      method,
      ^^^^^^^
      ...<13 lines>...
      **response_kw,
      ^^^^^^^^^^^^^^
      )
      ^
      File "/usr/local/lib/python3.13/site-packages/urllib3/connectionpool.py", line 871, in urlopen
      return self.urlopen(
      ~~~~~~~~~~~~^
      method,
      ^^^^^^^
      ...<13 lines>...
      **response_kw,
      ^^^^^^^^^^^^^^
      )
      ^
      [Previous line repeated 2 more times]
      File "/usr/local/lib/python3.13/site-packages/urllib3/connectionpool.py", line 841, in urlopen
      retries = retries.increment(
      method, url, error=new_e, _pool=self, _stacktrace=sys.exc_info()[2]
      )
      File "/usr/local/lib/python3.13/site-packages/urllib3/util/retry.py", line 519, in increment
      raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='db.kernelci.org', port=443): Max retries exceeded with url: /submit (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f559ad9e990>: Failed to establish a new connection: [Errno 111] Connection refused'))

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
      File "/code/cki_tools/datawarehouse_kcidb_forwarder/_init_.py", line 132, in submit
      SESSION.post(KCIDB_REST_URL, json=self.encoded, headers=KCIDB_REQUEST_HEADERS)
      ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.13/site-packages/requests/sessions.py", line 637, in post
      return self.request("POST", url, data=data, json=json, **kwargs)
      ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.13/site-packages/requests/sessions.py", line 589, in request
      resp = self.send(prep, **send_kwargs)
      File "/usr/local/lib/python3.13/site-packages/requests/sessions.py", line 703, in send
      r = adapter.send(request, **kwargs)
      File "/usr/local/lib/python3.13/site-packages/cki_lib/session.py", line 138, in send
      return super().send(request, stream=stream, timeout=timeout or self.timeout,
      ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      verify=verify, cert=cert, proxies=proxies)
      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/usr/local/lib/python3.13/site-packages/requests/adapters.py", line 677, in send
      raise ConnectionError(e, request=request)
      requests.exceptions.ConnectionError: HTTPSConnectionPool(host='db.kernelci.org', port=443): Max retries exceeded with url: /submit (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f559ad9e990>: Failed to establish a new connection: [Errno 111] Connection refused'))
      ```

      Jira: CKI-6984(https://issues.redhat.com/browse/CKI-6984)

      Jira: CKI-7466(https://issues.redhat.com/browse/CKI-7466)

              Unassigned Unassigned
              rh-ee-tdaapare Tales Lelo da Aparecida
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: