VMware Cloud Community
ukznmcl
Contributor
Contributor

edited proxy.xml and now cannot connect

Hi,

I have made a bit of a school boy error!! I was editing the proxy.xml file to try and get XenDesktop 5 working with the SDK and i edited the wrong lines on the proxy.xml file. Unfortunatly i changed all the <accessmode> lines to httpAndHttps and now i cannot manage my ESX 4.1 host. I was trying to implement the settings in the following link: http://support.citrix.com/article/CTX125578 particulary the following settings:

<e id=”1”>
   <_type>vim.ProxyService.NamedPipeServiceSpec</_type>
   <accessMode>httpsWithRedirect</accessMode>
   <pipeName>/var/run/vmware/proxy-sdk</pipeName>
   <serverNamespace>/sdk</serverNamespace>
</e>


It should look like this
...
<e id=”1”>
   <_type>vim.ProxyService.NamedPipeServiceSpec</_type>
   <accessMode>httpAndHttps</accessMode>
   <pipeName>/var/run/vmware/proxy-sdk</pipeName>
   <serverNamespace>/sdk</serverNamespace>
</e>

At this moment in time my proxy.xml looks like:

id="7">
      <_type>vim.ProxyService.LocalServiceSpec</_type>
      <accessMode>httpAndHttps</accessMode>
      <port>8308</port>
      <serverNamespace>/ui</serverNamespace>
    </e>
    <e id="8">
      <_type>vim.ProxyService.LocalServiceSpec</_type>
      <accessMode>httpAndHttps</accessMode>
      <port>8089</port>
      <serverNamespace>/vpxa</serverNamespace>
    </e>
<ConfigRoot>
  <EndpointList>
    <_length>10</_length>
    <_type>vim.ProxyService.EndpointSpec[]</_type>
    <e id="0">
      <_type>vim.ProxyService.LocalServiceSpec</_type>
      <accessMode>httpAndHttps</accessMode>
      <port>8309</port>
      <serverNamespace>/</serverNamespace>
    </e>
    <e id="1">
      <_type>vim.ProxyService.LocalServiceSpec</_type>
      <accessMode>httpAndHttps</accessMode>
      <port>8309</port>
      <serverNamespace>/client/clients.xml</serverNamespace>
    </e>
    <e id="2">
      <_type>vim.ProxyService.LocalServiceSpec</_type>
      <accessMode>httpAndHttps</accessMode>
      <port>12001</port>
      <serverNamespace>/ha-nfc</serverNamespace>
    </e>
    <e id="3">
      <_type>vim.ProxyService.NamedPipeServiceSpec</_type>
      <accessMode>httpAndHttps</accessMode>
      <pipeName>/var/run/vmware/proxy-mob</pipeName>
      <serverNamespace>/mob</serverNamespace>
    </e>
    <e id="4">

Any help is much appreciated. Luckily its only my test box but as it is a test box i dont have a backup or anything.

0 Kudos
2 Replies
ukznmcl
Contributor
Contributor

Problem resolved. I managed to find a few examples on the internet and vmware documentation and managed to get it back to its default state. I have learnt my lesson to tread carefully with the proxy.xml file Smiley Happy

0 Kudos
ayoubrca
Contributor
Contributor

can you please share how you fixed it? I am having the same problem

0 Kudos