Skip to main content
jankit6
Staff
Staff
March 14, 2025

Troubleshooting Tip: Installation of Python libraries failed during Initial VM configuation

  • March 14, 2025
  • 0 replies
  • 834 views
Description This article describes how to fix an issue where the Python library failed to install during FortiSOAR's initial configuration
Scope FortiSOAR.
Solution

After installing FortiSOAR, the initial config wizard launches to configure it once the user logs in with csadmin in the CLI.

However, the configuration wizard may fail with the following error:

 

Running: install_ansible
Looking in indexes: https://pypi.org/simplehttps://repo.fortisoar.fortinet.com/connectors/deps/simple/https://repo.fortisoar.fortinet.com/prod/connectors/deps/simple/
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProxyError('Cannot connect to proxy.', NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f9b84f862e0>: Failed to establish a new connection: [Errno -2] Name or service not known'))': /simple/ansible/

 

Reason for failure:

 

The failure may have occurred due to connectivity to the FortiSOAR repo server being blocked in the proxy or the firewall.

 

Resolution steps:

  1. Ensure that connections to pypi.org and repo.fortisoar.fortinet.com are allowed in the proxy/firewall.

  2. Verify that the DNS server entry is configured correctly and that it can resolve the hosts.

  3. Test the connectivity using the following command:

 

curl -v -k https://repo.fortisoar.fortinet.com