Getting "[Errno 111] Connection refused" error message when trying to run an inference on RHEL Lightspeed
Issue
-
On a RHEL 10 with
command-line-assistant(Lightspeed feature) installed and connected to a Red Hat Satellite server, the following error message is shown up when trying to run an inference:$ c "What is RHEL 10?" ⁺₊+ Asking RHEL Lightspeed Communication error with the server: HTTPSConnectionPool(host='satellite.example.local', port=443): Max retries exceeded with url: /api/lightspeed/v1/infer (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f26a1ffc200>: Failed to establish a new connection: [Errno 111] Connection refused')). Please try again in a few minutes. -
The following error messages are also shown in the
journalctloutput:Oct 22 18:47:33 lightspeed.example.local clad[4477]: urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='satellite.example.local', port=443): Max retries exceeded with url: /api/lightspeed/v1/infer (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f26a1ffc200>: Failed to establish a new connection: [Errno 111] Connection refused')) [...] Oct 22 18:47:33 lightspeed.example.local clad[4477]: requests.exceptions.ConnectionError: HTTPSConnectionPool(host='satellite.example.local', port=443): Max retries exceeded with url: /api/lightspeed/v1/infer (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f26a1ffc200>: Failed to establish a new connection: [Errno 111] Connection refused')) [...] Oct 22 18:47:33 lightspeed.example.local clad[4477]: command_line_assistant.dbus.exceptions.RequestFailedError: Communication error with the server: HTTPSConnectionPool(host='satellite.example.local', port=443): Max retries exceeded with url: /api/lightspeed/v1/infer (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f26a1ffc200>: Failed to establish a new connection: [Errno 111] Connection refused')). Please try again in a few minutes.
Environment
- Red Hat Enterprise Linux (RHEL) Lightspeed
- 10
- command-line-assistant
- 10
- Red Hat Satellite
- 6.17
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.