Este contenido no está disponible en el idioma seleccionado.

Chapter 6. Troubleshooting the command-line assistant powered by RHEL Lightspeed


Diagnose and resolve issues when installing and using the command-line assistant powered by RHEL Lightspeed. Note that this is not an exhaustive list.

Could not find the TLS certificate file, invalid path: /etc/pki/consumer/cert.pem

When you ask a question to the command-line assistant and the assistant fails because the TLS certificate file cannot be found because of an invalid path, it could mean that your system is not registered.

To resolve the error, ensure that you register the system. Follow the steps:

Check if the system is registered:

# subscription-manager identity

If the system is not registered, use the following command to register the system:

# subscription-manager register --username <username> --password <password>

Communication error with the server

When you try to run the c command on your system, it fails with the following error:

🙁 Communication error with the server: HTTPSConnectionPool(host='cert.console.redhat.com', port=443): Max retries exceeded with url: /api/lightspeed/v1/infer (Caused by ProtocolError('Connection aborted.', PermissionError(13, 'Permission denied'))). Please try again in a few minutes.

To resolve the error, restart the command-line assistant daemon (clad) and rerun the c command:

$ systemctl restart clad
$ c “<Your_question>"

Warning when attaching file

When you run the c command and try to attach a file, you might receive a warning about the size limit.

"Error: The total size of your question and context (478.46 KB) exceeds the limit of 2.00 KB. Trimming it down to fit in the expected size, you may lose some context."

This happens because the assistant has a 2KB limit for the client. Starting with RHEL 9.7, the context limit is 32KB.

Clad is not reloading the updated certificate correctly

When you try to run clad as a non-root user, clad does not reload the updated certificate correctly. The certs under /etc/pki/consumer need to be owned by root, because it must access a file that is readable only by root.

To resolve the error, change the key.pem permission to root and run the clad commands as root.

$ sudo ls -l /etc/pki/consumer/
$ sudo chown $(whoami):$(id -gn) /etc/pki/consumer/${KEY_NAME}
Red Hat logoGithubredditYoutubeTwitter

Aprender

Pruebe, compre y venda

Comunidades

Acerca de la documentación de Red Hat

Ayudamos a los usuarios de Red Hat a innovar y alcanzar sus objetivos con nuestros productos y servicios con contenido en el que pueden confiar. Explore nuestras recientes actualizaciones.

Hacer que el código abierto sea más inclusivo

Red Hat se compromete a reemplazar el lenguaje problemático en nuestro código, documentación y propiedades web. Para más detalles, consulte el Blog de Red Hat.

Acerca de Red Hat

Ofrecemos soluciones reforzadas que facilitan a las empresas trabajar en plataformas y entornos, desde el centro de datos central hasta el perímetro de la red.

Theme

© 2026 Red Hat
Volver arriba