<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: There was an error in communication in VIX API Discussions</title>
    <link>https://communities.vmware.com/t5/VIX-API-Discussions/There-was-an-error-in-communication/m-p/2564028#M3758</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm also getting this problem on 4.1, anyone resolved this issue yet??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Jul 2011 08:25:30 GMT</pubDate>
    <dc:creator>monkeykong1984</dc:creator>
    <dc:date>2011-07-08T08:25:30Z</dc:date>
    <item>
      <title>There was an error in communication</title>
      <link>https://communities.vmware.com/t5/VIX-API-Discussions/There-was-an-error-in-communication/m-p/2564026#M3756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ESX version: 3.5 U4&lt;/P&gt;&lt;P&gt;VIX version: latest&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Command run:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;C:\Program Files (x86)\VMware\VMware VIX&amp;gt;vmrun -T esx -h &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://172.17.235.10/sdk"&gt;https://172.17.235.10/sdk&lt;/A&gt;&lt;SPAN&gt; -u serveruser -p serverpass -gu administrator -gp guestpass runProgramInGuest "[shared2] APDNA1101/APDNA1101.vmx" c:\windows\notepad.exe&lt;/SPAN&gt;&lt;BR /&gt;Error: Cannot open VM: [shared2] APDNA1101/APDNA1101.vmx, There was an error in communication=&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We are having a problem connecting to an ESX 3.5 U4 server with VIX. Snapshot is reverted ok, image powers up ok, but cannot connect to the guest image with VIX. We can copy files to the image without issue however. Any ideas what could be wrong here?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jun 2011 21:24:06 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VIX-API-Discussions/There-was-an-error-in-communication/m-p/2564026#M3756</guid>
      <dc:creator>kublikhan</dc:creator>
      <dc:date>2011-06-22T21:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: There was an error in communication</title>
      <link>https://communities.vmware.com/t5/VIX-API-Discussions/There-was-an-error-in-communication/m-p/2564027#M3757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;we have the same problem api 1.10.1 vcenter 4.1.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jun 2011 16:59:59 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VIX-API-Discussions/There-was-an-error-in-communication/m-p/2564027#M3757</guid>
      <dc:creator>sbonello</dc:creator>
      <dc:date>2011-06-23T16:59:59Z</dc:date>
    </item>
    <item>
      <title>Re: There was an error in communication</title>
      <link>https://communities.vmware.com/t5/VIX-API-Discussions/There-was-an-error-in-communication/m-p/2564028#M3758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm also getting this problem on 4.1, anyone resolved this issue yet??&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 08:25:30 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VIX-API-Discussions/There-was-an-error-in-communication/m-p/2564028#M3758</guid>
      <dc:creator>monkeykong1984</dc:creator>
      <dc:date>2011-07-08T08:25:30Z</dc:date>
    </item>
    <item>
      <title>Re: There was an error in communication</title>
      <link>https://communities.vmware.com/t5/VIX-API-Discussions/There-was-an-error-in-communication/m-p/2564029#M3759</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Same here with VIX1.11.0&amp;nbsp; running on a 4.1 vMA connected to a 4.1U1 VC-Server managing 4.1U1 ESXi Hosts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Sep 2011 13:24:49 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VIX-API-Discussions/There-was-an-error-in-communication/m-p/2564029#M3759</guid>
      <dc:creator>Thomy23</dc:creator>
      <dc:date>2011-09-20T13:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: There was an error in communication</title>
      <link>https://communities.vmware.com/t5/VIX-API-Discussions/There-was-an-error-in-communication/m-p/2564030#M3760</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the Host where you run the command in the same subnet (and not firewall active) as the ESX host? In my case this was the problem, the documentation says that vmrun needs to connect to port 443 of the host/VC server, but i found out that for some commands (vmrun ... suspend &amp;lt;PathToVMXFile&amp;gt; in my case) the communication goes from the machine where vmrun was issued directly to the ESX host to some port (i assume 8443) and to the VC-Server on port 443.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this solve your issue?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 17:32:04 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VIX-API-Discussions/There-was-an-error-in-communication/m-p/2564030#M3760</guid>
      <dc:creator>Thomy23</dc:creator>
      <dc:date>2011-09-27T17:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: There was an error in communication</title>
      <link>https://communities.vmware.com/t5/VIX-API-Discussions/There-was-an-error-in-communication/m-p/2564031#M3761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No, the client machine and esx server are not on the same subnet. They are not even in the same country. The datastore is on a different subnet as well, but it's on the same router. Putting all of the machines on the same subnet is not a viable solution for us. Does VIX require all clients, esx servers, and datastores to be on the same subnet? Here is the log files:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vmware-vix:&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| Log for Vix pid=5804 version=-1 build=build-368992 option=Release&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| The process is 32-bit.&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| Host codepage=windows-1252 encoding=windows-1252&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| Foundry Init: setting up global state (0 threads)&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| Vix_InitializeGlobalState: vixLogLevel = 0&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| Vix_InitializeGlobalState: vixApiTraceLevel = 0&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| Vix_InitializeGlobalState: vixDebugPanicOnVixAssert = 0&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| Vix_InitializeGlobalState: vixLogRefcountOnFinalRelease = 0&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| Vix_InitializeGlobalState: asyncOpWarningThreshold = 1000000&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| Vix_InitializeGlobalState: enableSyncOpSelection = FALSE&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| Vix_InitializeGlobalState: enableExternalThreadInterface = TRUE&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| LOCALE windows-1252 -&amp;gt; NULL User=409 System=409&lt;BR /&gt;&lt;SPAN&gt;Oct 25 23:58:12.178: app-2268| VixHost_ConnectEx: version -1, hostType 5, hostName &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://"&gt;https://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;myip&amp;gt;/sdk, hostPort 0, options 528&lt;/SPAN&gt;&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| HOSTINFO 28779581451581 @ 2864716Hz -&amp;gt; 0 @ 1000000Hz&lt;BR /&gt;Oct 25 23:58:12.178: app-2268| HOSTINFO ((x * 2998529205) &amp;gt;&amp;gt; 33) + -10046224981807&lt;BR /&gt;Oct 25 23:58:12.178: app-4696| HOSTINFO 28779581451665 @ 2864716Hz -&amp;gt; 0 @ 1000000Hz&lt;BR /&gt;Oct 25 23:58:12.178: app-4696| HOSTINFO ((x * 2998529205) &amp;gt;&amp;gt; 33) + -10046224981836&lt;BR /&gt;Oct 25 23:58:13.968: app-4696| Vix: [4696 vixVIMProxy.c:3449]: VixVIMVmRequestTicketImpl: requesting old-MKS ticket for VM '[datacenter-2/shared1] CPXAV1100/CPXAV1100.vmx'&lt;BR /&gt;Oct 25 23:58:35.249: app-1704| Cannot connect to server myserver.com:902: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respondCnxAuthdConnect: Returning false because CnxAuthdConnectTCP failed&lt;BR /&gt;Oct 25 23:58:35.249: app-1704| CnxConnectAuthd: Returning false because CnxAuthdConnect failed&lt;BR /&gt;Oct 25 23:58:35.249: app-1704| Cnx_Connect: Returning false because CnxConnectAuthd failed&lt;BR /&gt;Oct 25 23:58:35.249: app-1704| Cnx_Connect: Error message: Failed to connect to myserver.com:902&lt;BR /&gt;Oct 25 23:58:35.249: app-1704| Vix: [1704 foundryVMPowerOps.c:5567]: Error VIX_E_HOST_TCP_SOCKET_ERROR in FoundryVMOpenSocketToVMXThroughAuthd(): unable to contact authd: 'Failed to connect to server myserver.com:902'&lt;BR /&gt;Oct 25 23:58:35.249: app-4696| Vix: [4696 foundryVMPowerOps.c:5046]: Error VIX_E_HOST_TCP_SOCKET_ERROR in FoundryVMFinishConnectingToVMX(): failing open because we can't contact authd&lt;BR /&gt;Oct 25 23:58:35.249: app-4696| VixVM_FinalRelease: Close VM socket.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vmware-vixWrapper:&lt;BR /&gt;Oct 25 23:58:12.108: app-2268| Log for VixWrapper pid=5804 version=1 build=build-368992 option=Release&lt;BR /&gt;Oct 25 23:58:12.108: app-2268| The process is 32-bit.&lt;BR /&gt;Oct 25 23:58:12.108: app-2268| Host codepage=windows-1252 encoding=windows-1252&lt;BR /&gt;Oct 25 23:58:12.108: app-2268| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;BR /&gt;Oct 25 23:58:12.108: app-2268| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;BR /&gt;Oct 25 23:58:12.108: app-2268| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;BR /&gt;Oct 25 23:58:12.108: app-2268| config points to non-existent implementation library 'C:\Program Files (x86)\VMware\VMware VIX\\ws_server_esx-4\32bit\vix.dll'&lt;BR /&gt;Oct 25 23:58:12.111: app-2268| Loading Vix implementation library C:\Program Files (x86)\VMware\VMware VIX\\VSphere-4.1\32bit\vix.dll&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought maybe it was because one of the ports was not open. But I checked both ports 443 and 902 and it looked like the ports are open:&lt;BR /&gt;C:\&amp;gt;C:\PortQryV2\PortQry.exe -n &amp;lt;myip&amp;gt; -e 443&lt;BR /&gt;Querying target system called:&lt;BR /&gt; &amp;lt;myip&amp;gt;&lt;BR /&gt;Attempting to resolve IP address to a name...&lt;BR /&gt;IP address resolved to &amp;lt;myip&amp;gt;&lt;BR /&gt;querying...&lt;BR /&gt;TCP port 443 (https service): LISTENING&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\PortQryV2\PortQry.exe -n &amp;lt;myip&amp;gt; -e 902&lt;BR /&gt;Querying target system called:&lt;BR /&gt; &amp;lt;myip&amp;gt;&lt;BR /&gt;Attempting to resolve IP address to a name...&lt;BR /&gt;IP address resolved to &amp;lt;myip&amp;gt;&lt;BR /&gt;querying...&lt;BR /&gt;TCP port 902 (unknown service): LISTENING&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Oct 2011 00:16:10 GMT</pubDate>
      <guid>https://communities.vmware.com/t5/VIX-API-Discussions/There-was-an-error-in-communication/m-p/2564031#M3761</guid>
      <dc:creator>kublikhan</dc:creator>
      <dc:date>2011-10-26T00:16:10Z</dc:date>
    </item>
  </channel>
</rss>

