Build precise queries to find exactly what you need
Press ESC to close
@dmanson79
Member Since: August 23, 2021
Favorites0
Views
Projects0
HAve an issue connecting to one esxi host after upgrading from esxi 6 to 6.7, Checked Firewall, prereqs etc but just cannot connect to this host no matter what. I can connect to another host from the same place I have Python installed. If anyone has any ideas they are most welcome! Below is what is returned when trying to connect via command prompt Traceback (most recent call last): File "C:Program Files (x86)Python39-32libsite-packagesurllib3connection. py", line 169, in _new_conn conn = connection.create_connection( File "C:Program Files (x86)Python39-32libsite-packagesurllib3utilconnec tion.py", line 96, in create_connection raise err File "C:Program Files (x86)Python39-32libsite-packagesurllib3utilconnec tion.py", line 86, in create_connection sock.connect(sa) ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:Program Files (x86)Python39-32libsite-packagesurllib3connectionp ool.py", line 699, in urlopen httplib_response = self._make_request( File "C:Program Files (x86)Python39-32libsite-packagesurllib3connectionp ool.py", line 382, in _make_request self._validate_conn(conn) File "C:Program Files (x86)Python39-32libsite-packagesurllib3connectionp ool.py", line 1010, in _validate_conn conn.connect() File "C:Program Files (x86)Python39-32libsite-packagesurllib3connection. py", line 353, in connect conn = self._new_conn() File "C:Program Files (x86)Python39-32libsite-packagesurllib3connection. py", line 181, in _new_conn raise NewConnectionError( urllib3.exceptions.NewConnectionError: : Failed to establish a new connection: [WinError 10061] No conn ection could be made because the target machine actively refused it During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:Program Files (x86)Python39-32libsite-packagesrequestsadapters.p y", line 439, in send resp = conn.urlopen( File "C:Program Files (x86)Python39-32libsite-packagesurllib3connectionp ool.py", line 783, in urlopen return self.urlopen( File "C:Program Files (x86)Python39-32libsite-packagesurllib3connectionp ool.py", line 783, in urlopen return self.urlopen( File "C:Program Files (x86)Python39-32libsite-packagesurllib3connectionp ool.py", line 755, in urlopen retries = retries.increment( File "C:Program Files (x86)Python39-32libsite-packagesurllib3utilretry. py", line 574, in increment raise MaxRetryError(_pool, url, error or ResponseError(cause)) urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='192.168.7.11', port= 5989): Max retries exceeded with url: /cimom (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] No connection could be made because the target mac hine actively refused it')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:Program Files (x86)Python39-32libsite-packagespywbem_cim_http.py ", line 315, in wbem_request resp = conn.session.post( File "C:Program Files (x86)Python39-32libsite-packagesrequestssessions.p y", line 590, in post return self.request('POST', url, data=data, json=json, **kwargs) File "C:Program Files (x86)Python39-32libsite-packagesrequestssessions.p y", line 542, in request resp = self.send(prep, **send_kwargs) File "C:Program Files (x86)Python39-32libsite-packagesrequestssessions.p y", line 655, in send r = adapter.send(request, **kwargs) File "C:Program Files (x86)Python39-32libsite-packagesrequestsadapters.p y", line 516, in send raise ConnectionError(e, request=request) requests.exceptions.ConnectionError: HTTPSConnectionPool(host='192.168.7.11', po rt=5989): Max retries exceeded with url: /cimom (Caused by NewConnectionError(': Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:Program Files (x86)Python39-32check_esxi_hardware.py", line 780, in instance_list = wbemclient.EnumerateInstances(classe) File "C:Program Files (x86)Python39-32libsite-packagespywbem_cim_operati ons.py", line 2775, in EnumerateInstances result = self._imethodcall( File "C:Program Files (x86)Python39-32libsite-packagespywbem_cim_operati ons.py", line 1823, in _imethodcall reply_data, self._last_server_response_time = wbem_request( File "C:Program Files (x86)Python39-32libsite-packagespywbem_cim_http.py ", line 323, in wbem_request raise ConnectionError(msg, conn_id=conn.conn_id) pywbem._exceptions.ConnectionError: Failed to establish a new connection: [WinEr ror 10061] No connection could be made because the target machine actively refus ed it; OpenSSL version used: OpenSSL 1.1.1k 25 Mar 2021 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "C:Program Files (x86)Python39-32check_esxi_hardware.py", line 781, in except pywbem.cim_operations.CIMError as args: AttributeError: module 'pywbem' has no attribute 'cim_operations'
Reviewed 4 years ago