I am using a VMware SDK and getting the below error while making api call to fetch VM performance data.
Error: <urlopen error timed out>
Below the code snippet I am using and getting the exception in the try block and e="Error: <urlopen error timed out>"
try: uuid = vm_mo.getCurrentProperty("config.instanceUuid") except Exception as e: #some loggers here =================================================================== def getCurrentProperty(self, pName): propertyValue = None objContent = self.retrieveObjectProperties([pName]) if objContent!=None: dynaProps = objContent.propSet if dynaProps != None and len(dynaProps)>0: propertyValue = self._convert(dynaProps) return propertyValue
Any help will really appreciated .
Thanks in advance!!
Can someone please provide any insights on this?
Unfortunately, we are not able to provide an insight on this issue as this forum is concerned with vSphere Client SDK and Plugins.
Try posting your question in the general forum or a specific forum of the used SDK.