Update platforme via "cchq <env> deploy" Error

Hello Team CommCare
I need help, please. I'm trying to update our platform using the command 'cchq deploy' from commcare-cloud, but I'm getting this error. If anyone has any ideas, please let me know.


thanks in advance

Hi @Mirado

I asked ChatGPT to parse that image for me, and return the value of the traceback. Here it is:

Traceback (most recent call last):
  File "/home/cchq/www/sic/releases/2024-10-17_09.29/python_env/lib/python3.9/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
  File "/home/cchq/www/sic/releases/2024-10-17_09.29/python_env/lib/python3.9/site-packages/django/core/management/__init__.py", line 436, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/cchq/www/sic/releases/2024-10-17_09.29/python_env/lib/python3.9/site-packages/django/core/management/base.py", line 412, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/cchq/www/sic/releases/2024-10-17_09.29/python_env/lib/python3.9/site-packages/django/core/management/base.py", line 458, in execute
    output = self.handle(*args, **options)
  File "/home/cchq/www/sic/releases/2024-10-17_09.29/corehq/apps/change_feed/management/commands/validate_kafka_pillow_checkpoints.py", line 36, in handle
    validate_checkpoints(print_only)
  File "/home/cchq/www/sic/releases/2024-10-17_09.29/corehq/apps/change_feed/management/commands/validate_kafka_pillow_checkpoints.py", line 96, in validate_checkpoints
    available_offsets = get_multi_topic_first_available_offsets(checkpoint_dict)
  File "/home/cchq/www/sic/releases/2024-10-17_09.29/corehq/apps/change_feed/topics.py", line 87, in get_multi_topic_first_available_offsets
    return _get_topic_offsets(topics, latest=False)
  File "/home/cchq/www/sic/releases/2024-10-17_09.29/corehq/apps/change_feed/topics.py", line 115, in _get_topic_offsets
    responses = client.send_offset_request(reqs)
  File "/home/cchq/www/sic/releases/2024-10-17_09.29/python_env/lib/python3.9/site-packages/kafka/client.py", line 676, in send_offset_request
    return self._send_request_to_brokers(OffsetRequest, OffsetResponse, requests)
  File "/home/cchq/www/sic/releases/2024-10-17_09.29/python_env/lib/python3.9/site-packages/kafka/client.py", line 677, in _send_request_to_brokers
    if not fail_on_error or not self._raise_on_response_error(resp)
  File "/home/cchq/www/sic/releases/2024-10-17_09.29/python_env/lib/python3.9/site-packages/kafka/client.py", line 403, in _raise_on_response_error
    raise resp
kafka.errors.FailedPayloadError: FailedPayloadError

It looks like you're getting a response error from Kafka. Can you run check-services, and make sure Kafka is healthy?