My env is on AIX; nextract_plus version 43 ( all version showing the below error), python 3.7.11, influx 1.8.4
Traceback (most recent call last):
File "/opt/freeware/lib/python3.7/site-packages/urllib3/connection.py", line 170, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/opt/freeware/lib/python3.7/site-packages/urllib3/util/connection.py", line 73, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
File "/opt/freeware/lib64/python3.7/socket.py", line 752, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
socket.gaierror: [Errno 8] Hostname and service name not provided or found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/freeware/lib/python3.7/site-packages/urllib3/connectionpool.py", line 696, in urlopen
self._prepare_proxy(conn)
File "/opt/freeware/lib/python3.7/site-packages/urllib3/connectionpool.py", line 964, in _prepare_proxy
conn.connect()
File "/opt/freeware/lib/python3.7/site-packages/urllib3/connection.py", line 353, in connect
conn = self._new_conn()
File "/opt/freeware/lib/python3.7/site-packages/urllib3/connection.py", line 182, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0xa0000000077dbc8>: Failed to establish a new connection: [Errno 8] Hostname and service name not provided or found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/freeware/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/opt/freeware/lib/python3.7/site-packages/urllib3/connectionpool.py", line 756, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/opt/freeware/lib/python3.7/site-packages/urllib3/util/retry.py", line 573, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='hmcdrp4', port=12443): Max retries exceeded with url: /rest/api/web/Logon (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xa0000000077dbc8>: Failed to establish a new connection: [Errno 8] Hostname and service name not provided or found')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./newnextract_plus.py", line 99, in <module>
hmc = hmc.HMC(hmc_hostname, hmc_user, hmc_password)
File "/usr/lbin/hmc_pcm.py", line 23, in __init__
self.logon(hmc, user, pw)
File "/usr/lbin/hmc_pcm.py", line 112, in logon
ret = requests.put(logonUrl,data=logonPayload,headers=logonheaders,verify=False)
File "/opt/freeware/lib/python3.7/site-packages/requests/api.py", line 134, in put
return request('put', url, data=data, **kwargs)
File "/opt/freeware/lib/python3.7/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/opt/freeware/lib/python3.7/site-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/opt/freeware/lib/python3.7/site-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/opt/freeware/lib/python3.7/site-packages/requests/adapters.py", line 510, in send
raise ProxyError(e, request=request)
requests.exceptions.ProxyError: HTTPSConnectionPool(host='hmcdrp4', port=12443): Max retries exceeded with url: /rest/api/web/Logon (Caused by ProxyError('Cannot connect to proxy.', NewConnectionError('<urllib3.connection.HTTPSConnection object at 0xa0000000077dbc8>: Failed to establish a new connection: [Errno 8] Hostname and service name not provided or found')))
------------------------------
Ganeshan Karmegam
------------------------------