Cannot install BPA

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.

Cannot install BPA

L1 Bithead

We are using a fresh installation using ExpeditionVM-1.1.10.ova. Unfortunately, we do not find any Best practices installed.

Running sh /var/www/html/OS/BPA/updateBPA306.sh produces lot of errors.

The last ones are:

File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/resolvelib/resolvers.py", line 472, in resolvestate = resolution.resolve(requirements, max_rounds=max_rounds)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/resolvelib/resolvers.py", line 341, in resolveself._add_to_criteria(self.state.criteria, r, parent=None)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteriaif not criterion.candidates:
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/resolvelib/structs.py", line 151, in __bool__return bool(self._sequence)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_internal/resolution/resolvelib/found_candidates.py", line 140, in __bool__return any(self)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_internal/resolution/resolvelib/found_candidates.py", line 128, in <genexpr>return (c for c in iterator if id(c) not in self._incompatible_ids)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_internal/resolution/resolvelib/found_candidates.py", line 29, in _iter_builtfor version, func in infos:
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_internal/resolution/resolvelib/factory.py", line 275, in iter_index_candidate_infoshashes=hashes,
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_internal/index/package_finder.py", line 851, in find_best_candidatecandidates = self.find_all_candidates(project_name)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_internal/index/package_finder.py", line 798, in find_all_candidatespage_candidates = list(page_candidates_it)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_internal/index/sources.py", line 134, in page_candidatesyield from self._candidates_from_page(self._link)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_internal/index/package_finder.py", line 758, in process_project_urlhtml_page = self._link_collector.fetch_page(project_url)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_internal/index/collector.py", line 490, in fetch_pagereturn _get_html_page(location, session=self.session)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_internal/index/collector.py", line 400, in _get_html_pageresp = _get_html_response(url, session=session)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_internal/index/collector.py", line 132, in _get_html_response"Cache-Control": "max-age=0",
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/requests/sessions.py", line 555, in getreturn self.request('GET', url, **kwargs)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_internal/network/session.py", line 454, in requestreturn super().request(method, url, *args, **kwargs)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/requests/sessions.py", line 542, in requestresp = self.send(prep, **send_kwargs)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/requests/sessions.py", line 655, in sendr = adapter.send(request, **kwargs)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/cachecontrol/adapter.py", line 53, in sendresp = super(CacheControlAdapter, self).send(request, **kw)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/requests/adapters.py", line 449, in sendtimeout=timeout
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/urllib3/connectionpool.py", line 696, in urlopenself._prepare_proxy(conn)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/urllib3/connectionpool.py", line 964, in _prepare_proxyconn.connect()
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/urllib3/connection.py", line 359, in connectconn = self._connect_tls_proxy(hostname, conn)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/urllib3/connection.py", line 506, in _connect_tls_proxyssl_context=ssl_context,
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/urllib3/util/ssl_.py", line 453, in ssl_wrap_socketssl_sock = _ssl_wrap_socket_impl(sock, context, tls_in_tls)
File "/tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip/_vendor/urllib3/util/ssl_.py", line 495, in _ssl_wrap_socket_implreturn ssl_context.wrap_socket(sock)
File "/usr/lib/python3.7/ssl.py", line 423, in wrap_socketsession=session
File "/usr/lib/python3.7/ssl.py", line 827, in _createraise ValueError("check_hostname requires server_hostname")
ValueError: check_hostname requires server_hostname
----------------------------------------
WARNING: Discarding file:///var/www/html/OS/BPA/best_practice_assessment_ngfw_pano-master.zip. Command errored out with exit status 2: /usr/bin/python3.7 /tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-he91emi1/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output.
ERROR: Command errored out with exit status 2: /usr/bin/python3.7 /tmp/pip-standalone-pip-e9jji8d_/__env_pip__.zip/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-he91emi1/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- 'setuptools>=40.8.0' wheel Check the logs for full command output.

Any suggestions where to start troubleshooting are welcome.

Are there any additional logs that we should check?

1 accepted solution

Accepted Solutions

L1 Bithead

it turned out that the problems were related to our internet proxy.

Even when there haven't been any blocked attempts in any logs, changing to direct communication did do the trick.

View solution in original post

1 REPLY 1

L1 Bithead

it turned out that the problems were related to our internet proxy.

Even when there haven't been any blocked attempts in any logs, changing to direct communication did do the trick.

  • 1 accepted solution
  • 1925 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!