[resolved] Error in opsi-client installation / with log

Antworten
bourhis
Beiträge: 112
Registriert: 07 Nov 2012, 15:57

[resolved] Error in opsi-client installation / with log

Beitrag von bourhis »

Hi,

I have downloaded the last client "opsi-client-agent_4.2.0.40-1.opsi" and whis this one there is a "show log" button.

So this is the log. of the error trying to install Opsi-client : what can I do to resolve this problem ?

Regards

Code: Alles auswählen

[ERROR     2022-09-15 15:10:17] HTTPSConnectionPool(host='172.22.1.250', port=4447): Max retries exceeded with url: /rpc (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden')))   (__main__.py:196)
Traceback (most recent call last):
  File "urllib3\connectionpool.py", line 700, in urlopen
  File "urllib3\connectionpool.py", line 994, in _prepare_proxy
  File "urllib3\connection.py", line 369, in connect
  File "http\client.py", line 924, in _tunnel
OSError: Tunnel connection failed: 403 Forbidden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "requests\adapters.py", line 440, in send
  File "urllib3\connectionpool.py", line 785, in urlopen
  File "urllib3\util\retry.py", line 592, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='172.22.1.250', port=4447): Max retries exceeded with url: /rpc (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "ocainstallationhelper\__main__.py", line 187, in install
  File "ocainstallationhelper\__main__.py", line 212, in service_setup
  File "ocainstallationhelper\backend.py", line 19, in __init__
  File "opsicommon\client\jsonrpc.py", line 234, in __init__
  File "opsicommon\client\jsonrpc.py", line 571, in connect
  File "opsicommon\client\jsonrpc.py", line 443, in execute_rpc
  File "requests\sessions.py", line 577, in post
  File "requests\sessions.py", line 529, in request
  File "requests\sessions.py", line 645, in send
  File "opsicommon\client\jsonrpc.py", line 75, in send
  File "requests\adapters.py", line 513, in send
requests.exceptions.ProxyError: HTTPSConnectionPool(host='172.22.1.250', port=4447): Max retries exceeded with url: /rpc (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden')))
[ERROR     2022-09-15 15:10:17] HTTPSConnectionPool(host='172.22.1.250', port=4447): Max retries exceeded with url: /rpc (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden')))   (__main__.py:247)
Traceback (most recent call last):
  File "urllib3\connectionpool.py", line 700, in urlopen
  File "urllib3\connectionpool.py", line 994, in _prepare_proxy
  File "urllib3\connection.py", line 369, in connect
  File "http\client.py", line 924, in _tunnel
OSError: Tunnel connection failed: 403 Forbidden

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "requests\adapters.py", line 440, in send
  File "urllib3\connectionpool.py", line 785, in urlopen
  File "urllib3\util\retry.py", line 592, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='172.22.1.250', port=4447): Max retries exceeded with url: /rpc (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden')))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "ocainstallationhelper\__main__.py", line 270, in on_install_button
  File "ocainstallationhelper\__main__.py", line 187, in install
  File "ocainstallationhelper\__main__.py", line 212, in service_setup
  File "ocainstallationhelper\backend.py", line 19, in __init__
  File "opsicommon\client\jsonrpc.py", line 234, in __init__
  File "opsicommon\client\jsonrpc.py", line 571, in connect
  File "opsicommon\client\jsonrpc.py", line 443, in execute_rpc
  File "requests\sessions.py", line 577, in post
  File "requests\sessions.py", line 529, in request
  File "requests\sessions.py", line 645, in send
  File "opsicommon\client\jsonrpc.py", line 75, in send
  File "requests\adapters.py", line 513, in send
requests.exceptions.ProxyError: HTTPSConnectionPool(host='172.22.1.250', port=4447): Max retries exceeded with url: /rpc (Caused by ProxyError('Cannot connect to proxy.', OSError('Tunnel connection failed: 403 Forbidden')))
Zuletzt geändert von bourhis am 16 Sep 2022, 14:51, insgesamt 1-mal geändert.
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1789
Registriert: 29 Mai 2008, 15:14

Re: Error in opsi-client installation / with log

Beitrag von j.schneider »

Seems to be a problem with your proxy server.
If the client can reach the opsi server directly, please add an exception in your clients proxy settings.
bourhis
Beiträge: 112
Registriert: 07 Nov 2012, 15:57

Re: Error in opsi-client installation / with log

Beitrag von bourhis »

Hi,

I have no proxy server...

Regards
bourhis
Beiträge: 112
Registriert: 07 Nov 2012, 15:57

Re: Error in opsi-client installation / with log

Beitrag von bourhis »

actually I had an old GPO that affect the https_proxy variable in the key:
[HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\Environment]
Removing it fixes the problem.

Thanks
Antworten