Highlighted
Absent Member.
Absent Member.
1361 views

UD job for Vmware Vcenter connection by VIM is failling with HTTP status code 301 error

 

Hello,

I'm trying to run Vmware Vcenter connection by VIM an HPUD job but I'm getting bellowed error.

VMware VIM: Internal error. Details: The server sent HTTP status code 301: Moved Permanently

 

<ERROR class="com.sun.xml.internal.ws.client.ClientTransportException">
   <message>[CDATA&colon; The server sent HTTP status code 301: Moved Permanently]</message>

 

What could be the issue?Thanks very much for your help,

 

0 Likes
9 Replies
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: UD job for Vmware Vcenter connection by VIM is failling with HTTP status code 301 error

Check URL you are using. The error isn't related to UCMDB...

Regards
-Dmitry Gomel, PMP
Click the Like button at the bottom to say 'Thanks'.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: UD job for Vmware Vcenter connection by VIM is failling with HTTP status code 301 error

Hello Dima,

Thanks for your answer, I'm sorry to ask but I'm discovering UD area.

I have a question. What do you mean by the url, I'm using.

I did not configure a url when configuring job.

I just set a credential and launch the job to try to find ESX server.

Do you think that I need to complete the Host connection job one more time before?

Br Adjé

0 Likes
Highlighted
Acclaimed Contributor.. Acclaimed Contributor..
Acclaimed Contributor..

Re: UD job for Vmware Vcenter connection by VIM is failling with HTTP status code 301 error

What version of vCenter you connecting to?

Regards
-Dmitry Gomel, PMP
Click the Like button at the bottom to say 'Thanks'.
0 Likes
Highlighted
Absent Member.
Absent Member.

Re: UD job for Vmware Vcenter connection by VIM is failling with HTTP status code 301 error

Hello Goodmorning.

We are using ESX 5.5 version

0 Likes
Highlighted
Established Member..
Established Member..

Re: UD job for Vmware Vcenter connection by VIM is failling with HTTP status code 301 error

please choose  SSL option

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: UD job for Vmware Vcenter connection by VIM is failling with HTTP status code 301 error

Hello,

sorry for the late reply.

I did try that but the job stucked in ongoing status never ending successfully or raising errors.

BR

0 Likes
Highlighted
Established Member..
Established Member..

Re: UD job for Vmware Vcenter connection by VIM is failling with HTTP status code 301 error

can you put your remote process log here?

 

0 Likes
Highlighted
Absent Member.
Absent Member.

Re: UD job for Vmware Vcenter connection by VIM is failling with HTTP status code 301 error

Hello,

Here you are

 

 

 

<execution jobId="VMware VirtualCenter Connection by VIM" destinationid="4d2562a48147d7c4a72e27664efd30da" max_store_sent_results="2147483647">
 <destination>
  <destinationData name="id">4d2562a48147d7c4a72e27664efd30da</destinationData>
  <destinationData name="ip_address">130.175.*******</destinationData>
  <destinationData name="ip_domain">DefaultDomain</destinationData>
  <destinationData name="connection_url">NA</destinationData>
  <destinationData name="ip_addresses">130.175.******</destinationData>
  <destinationData name="rs_id">14de6b827fca4e7c7260aa21bddb9f7d</destinationData>
  <destinationData name="vc_id">NA</destinationData>
  <destinationData name="credentialsId">NA</destinationData>
 </destination>
 <protocol name="vmware" cm_credential_id="11_1_CMS">
  <object id="d62e4572cfc4c5ce7f270170a6b5f166" id_type="CmdbObjectID" class="vmwareprotocol" isReference="false" is_anchor="false">
   <attribute name="protocol_username" type="String">**********</attribute>
   <attribute name="protocol_netaddress" type="String">DEFAULT</attribute>
   <attribute name="protocol_type" type="String">vmwareprotocol</attribute>
   <attribute name="protocol_port" type="Unknown" />
   <attribute name="cm_credential_id" type="String">11_1_CMS</attribute>
   <attribute name="protocol_timeout" type="String">2000</attribute>
   <attribute name="user_label" type="String">Pontiac Lab UD Probe</attribute>
   <attribute name="vmwareprotocol_use_ssl" type="String">false</attribute>
   <attribute name="protocol_in_use" type="Boolean">false</attribute>
   <attribute name="protocol_index" type="Integer">1</attribute>
  </object>
 </protocol>
 <protocol name="vmware" cm_credential_id="23_1_CMS">
  <object id="40f07e47f309a8bb7c57b2a9de7aeda4" id_type="CmdbObjectID" class="vmwareprotocol" isReference="false" is_anchor="false">
   <attribute name="protocol_username" type="String">**********</attribute>
   <attribute name="protocol_netaddress" type="String">DEFAULT</attribute>
   <attribute name="protocol_type" type="String">vmwareprotocol</attribute>
   <attribute name="protocol_port" type="Unknown" />
   <attribute name="cm_credential_id" type="String">23_1_CMS</attribute>
   <attribute name="protocol_timeout" type="String">2000</attribute>
   <attribute name="user_label" type="String">VMware VIM Protocol Credential 1</attribute>
   <attribute name="vmwareprotocol_use_ssl" type="String">false</attribute>
   <attribute name="protocol_in_use" type="Boolean">false</attribute>
   <attribute name="protocol_index" type="Integer">2</attribute>
  </object>
 </protocol>
 <params>
  <param param_name="remoteJVMClasspath" param_value="%minimal_classpath%;../lib/axis.jar;../lib/axis-jaxrpc.jar;../lib/axis-wsdl4j.jar;../runtime/probeManager/discoveryResources/vmware/vim.jar;../runtime/probeManager/discoveryResources/vmware/vim25.jar" />
  <param param_name="maxThreadRuntime" param_value="900000" />
  <param param_name="taskType" param_value="regular" />
  <param param_name="runInSeparateProcess" param_value="true" />
  <param param_name="JOB_ID" param_value="VMware VirtualCenter Connection by VIM" />
 </params>
 <log start="07:32:16" severity="info">Execution current time:2015/06/15 07:32:16</log>
 <log start="07:32:23" severity="debug">Connecting by URL: http://130.175.******/sdk</log>
 <CONNECT start="07:32:45" duration="22125" CMD="client_connect" RESULT="" IS_NULL="Y" type="vmware" credentialsId="23_1_CMS">
  <ERROR class="com.sun.xml.internal.ws.client.ClientTransportException">
   <message>[CDATA&colon; The server sent HTTP status code 301: Moved Permanently]</message>
   <stacktrace>
    <frame class="com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe" method="checkStatusCode" file="HttpTransportPipe.java" line="296" />
    <frame class="com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe" method="createResponsePacket" file="HttpTransportPipe.java" line="245" />
    <frame class="com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe" method="process" file="HttpTransportPipe.java" line="203" />
    <frame class="com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe" method="processRequest" file="HttpTransportPipe.java" line="122" />
    <frame class="com.sun.xml.internal.ws.transport.DeferredTransportPipe" method="processRequest" file="DeferredTransportPipe.java" line="123" />
    <frame class="com.sun.xml.internal.ws.api.pipe.Fiber" method="__doRun" file="Fiber.java" line="626" />
    <frame class="com.sun.xml.internal.ws.api.pipe.Fiber" method="_doRun" file="Fiber.java" line="585" />
    <frame class="com.sun.xml.internal.ws.api.pipe.Fiber" method="doRun" file="Fiber.java" line="570" />
    <frame class="com.sun.xml.internal.ws.api.pipe.Fiber" method="runSync" file="Fiber.java" line="467" />
    <frame class="com.sun.xml.internal.ws.client.Stub" method="process" file="Stub.java" line="308" />
    <frame class="com.sun.xml.internal.ws.client.sei.SEIStub" method="doProcess" file="SEIStub.java" line="146" />
    <frame class="com.sun.xml.internal.ws.client.sei.SyncMethodHandler" method="invoke" file="SyncMethodHandler.java" line="98" />
    <frame class="com.sun.xml.internal.ws.client.sei.SyncMethodHandler" method="invoke" file="SyncMethodHandler.java" line="78" />
    <frame class="com.sun.xml.internal.ws.client.sei.SEIStub" method="invoke" file="SEIStub.java" line="129" />
    <frame class="com.sun.proxy.$Proxy58" method="retrieveServiceContent" file="unknown" line="-1" />
    <frame class="com.hp.ucmdb.discovery.library.clients.vmware.vcenter.jaxws.JaxWsAgent" method="connect" file="JaxWsAgent.java" line="86" />
    <frame class="com.hp.ucmdb.discovery.library.clients.vmware.vcenter.VmwareClient" method="createWrapper" file="VmwareClient.java" line="87" />
    <frame class="com.hp.ucmdb.discovery.library.clients.BaseClient" method="initPrivate" file="BaseClient.java" line="218" />
    <frame class="com.hp.ucmdb.discovery.library.clients.BaseClient" method="init" file="BaseClient.java" line="132" />
    <frame class="com.hp.ucmdb.discovery.library.clients.BaseClient" method="&lt;init&gt;" file="BaseClient.java" line="106" />
    <frame class="com.hp.ucmdb.discovery.library.clients.vmware.vcenter.VmwareClient" method="&lt;init&gt;" file="VmwareClient.java" line="43" />
    <frame class="sun.reflect.NativeConstructorAccessorImpl" method="newInstance0" file="NativeConstructorAccessorImpl.java" line="-2" />
    <frame class="sun.reflect.NativeConstructorAccessorImpl" method="newInstance" file="NativeConstructorAccessorImpl.java" line="57" />
    <frame class="sun.reflect.DelegatingConstructorAccessorImpl" method="newInstance" file="DelegatingConstructorAccessorImpl.java" line="45" />
    <frame class="java.lang.reflect.Constructor" method="newInstance" file="Constructor.java" line="525" />
    <frame class="com.hp.ucmdb.discovery.library.clients.ClientFactory" method="createClient" file="ClientFactory.java" line="155" />
    <frame class="com.hp.ucmdb.discovery.library.clients.ClientsFrameworkImpl" method="createClient" file="ClientsFrameworkImpl.java" line="110" />
    <frame class="com.hp.ucmdb.discovery.library.clients.ClientsFrameworkImpl" method="createClient" file="ClientsFrameworkImpl.java" line="74" />
    <frame class="sun.reflect.NativeMethodAccessorImpl" method="invoke0" file="NativeMethodAccessorImpl.java" line="-2" />
    <frame class="sun.reflect.NativeMethodAccessorImpl" method="invoke" file="NativeMethodAccessorImpl.java" line="57" />
    <frame class="sun.reflect.DelegatingMethodAccessorImpl" method="invoke" file="DelegatingMethodAccessorImpl.java" line="43" />
    <frame class="java.lang.reflect.Method" method="invoke" file="Method.java" line="601" />
    <frame class="org.python.core.PyReflectedFunction" method="__call__" file="PyReflectedFunction.java" line="186" />
    <frame class="org.python.core.PyReflectedFunction" method="__call__" file="PyReflectedFunction.java" line="204" />
    <frame class="org.python.core.PyObject" method="__call__" file="PyObject.java" line="404" />
    <frame class="org.python.core.PyObject" method="__call__" file="PyObject.java" line="408" />
    <frame class="org.python.core.PyMethod" method="__call__" file="PyMethod.java" line="124" />
    <frame class="org.python.pycode._pyx56" method="createClientOfVersion$14" file="vmware_vim" line="121" />
    <frame class="org.python.pycode._pyx56" method="call_function" file="vmware_vim" line="-1" />
    <frame class="org.python.core.PyTableCode" method="call" file="PyTableCode.java" line="165" />
    <frame class="org.python.core.PyBaseCode" method="call" file="PyBaseCode.java" line="149" />
    <frame class="org.python.core.PyFunction" method="__call__" file="PyFunction.java" line="327" />
    <frame class="org.python.core.PyMethod" method="__call__" file="PyMethod.java" line="124" />
    <frame class="org.python.pycode._pyx56" method="createClient$13" file="vmware_vim" line="114" />
    <frame class="org.python.pycode._pyx56" method="call_function" file="vmware_vim" line="-1" />
    <frame class="org.python.core.PyTableCode" method="call" file="PyTableCode.java" line="165" />
    <frame class="org.python.core.PyBaseCode" method="call" file="PyBaseCode.java" line="134" />
    <frame class="org.python.core.PyFunction" method="__call__" file="PyFunction.java" line="317" />
    <frame class="org.python.core.PyMethod" method="__call__" file="PyMethod.java" line="109" />
    <frame class="org.python.pycode._pyx56" method="_connectByContext$55" file="vmware_vim" line="480" />
    <frame class="org.python.pycode._pyx56" method="call_function" file="vmware_vim" line="-1" />
    <frame class="org.python.core.PyTableCode" method="call" file="PyTableCode.java" line="165" />
    <frame class="org.python.core.PyBaseCode" method="call" file="PyBaseCode.java" line="149" />
    <frame class="org.python.core.PyFunction" method="__call__" file="PyFunction.java" line="327" />
    <frame class="org.python.core.PyMethod" method="__call__" file="PyMethod.java" line="124" />
    <frame class="org.python.pycode._pyx56" method="discover$54" file="vmware_vim" line="417" />
    <frame class="org.python.pycode._pyx56" method="call_function" file="vmware_vim" line="-1" />
    <frame class="org.python.core.PyTableCode" method="call" file="PyTableCode.java" line="165" />
    <frame class="org.python.core.PyBaseCode" method="call" file="PyBaseCode.java" line="301" />
    <frame class="org.python.core.PyBaseCode" method="call" file="PyBaseCode.java" line="127" />
    <frame class="org.python.core.PyFunction" method="__call__" file="PyFunction.java" line="317" />
    <frame class="org.python.core.PyMethod" method="__call__" file="PyMethod.java" line="109" />
    <frame class="org.python.pycode._pyx57" method="DiscoveryMain$8" file="vmware_virtualcenter_connection_by_vim" line="119" />
    <frame class="org.python.pycode._pyx57" method="call_function" file="vmware_virtualcenter_connection_by_vim" line="-1" />
    <frame class="org.python.core.PyTableCode" method="call" file="PyTableCode.java" line="165" />
    <frame class="org.python.core.PyBaseCode" method="call" file="PyBaseCode.java" line="134" />
    <frame class="org.python.core.PyFunction" method="__call__" file="PyFunction.java" line="317" />
    <frame class="org.python.pycode._pyx58" method="f$0" file="&lt;string&gt;" line="2" />
    <frame class="org.python.pycode._pyx58" method="call_function" file="&lt;string&gt;" line="-1" />
    <frame class="org.python.core.PyTableCode" method="call" file="PyTableCode.java" line="165" />
    <frame class="org.python.core.PyCode" method="call" file="PyCode.java" line="18" />
    <frame class="org.python.core.Py" method="runCode" file="Py.java" line="1275" />
    <frame class="org.python.core.Py" method="exec" file="Py.java" line="1319" />
    <frame class="org.python.util.PythonInterpreter" method="exec" file="PythonInterpreter.java" line="206" />
    <frame class="com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl" method="executeScript" file="ExecutionEngineImpl.java" line="259" />
    <frame class="com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl" method="executeScript" file="ExecutionEngineImpl.java" line="233" />
    <frame class="com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl" method="executeScript" file="ExecutionEngineImpl.java" line="229" />
    <frame class="com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl" method="executeScripts" file="ExecutionEngineImpl.java" line="146" />
    <frame class="com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl" method="execute" file="ExecutionEngineImpl.java" line="96" />
    <frame class="com.hp.ucmdb.discovery.probe.services.dynamic.core.TablesProcessorUtil" method="processDestinationTables" file="TablesProcessorUtil.java" line="136" />
    <frame class="com.hp.ucmdb.discovery.probe.services.dynamic.core.DynamicService" method="discover" file="DynamicService.java" line="76" />
    <frame class="com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.JobExecuter" method="launchTask" file="JobExecuter.java" line="1199" />
    <frame class="com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.remote.RemoteJobExecutor" method="main" file="RemoteJobExecutor.java" line="153" />
   </stacktrace>
  </ERROR>
  <ClientProperties>
   <prop name="protocol_timeout" value="2000" />
   <prop name="protocol_netaddress" value="DEFAULT" />
   <prop name="credentialsId" value="23_1_CMS" />
   <prop name="protocol_type" value="vmwareprotocol" />
   <prop name="connection_url" value="http://130.175.*****/sdk" />
   <prop name="user_label" value="VMware VIM Protocol Credential 1" />
   <prop name="protocol_username" value="*******" />
   <prop name="vmwareprotocol_use_ssl" value="false" />
   <prop name="protocol_port" value="" />
   <prop name="protocol_in_use" value="false" />
   <prop name="cm_credential_id" value="23_1_CMS" />
   <prop name="protocol_version" value="2.5" />
   <prop name="protocol_index" value="2" />
  </ClientProperties>
 </CONNECT>
 <log start="07:32:45" severity="debug">The server sent HTTP status code 301: Moved Permanently</log>
 <log start="07:32:46" severity="debug">VMware VIM: Internal error. Details: The server sent HTTP status code 301: Moved Permanently</log>
 <log start="07:32:46" severity="debug">Connecting by URL: http://130.175.*******/sdk</log>
 <CONNECT start="07:32:55" duration="8875" CMD="client_connect" RESULT="" IS_NULL="Y" type="vmware" credentialsId="11_1_CMS">
  <ERROR class="com.sun.xml.internal.ws.client.ClientTransportException">
   <message>[CDATA&colon; The server sent HTTP status code 301: Moved Permanently]</message>
   <stacktrace>
    <frame class="com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe" method="checkStatusCode" file="HttpTransportPipe.java" line="296" />
    <frame class="com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe" method="createResponsePacket" file="HttpTransportPipe.java" line="245" />
    <frame class="com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe" method="process" file="HttpTransportPipe.java" line="203" />
    <frame class="com.sun.xml.internal.ws.transport.http.client.HttpTransportPipe" method="processRequest" file="HttpTransportPipe.java" line="122" />
    <frame class="com.sun.xml.internal.ws.transport.DeferredTransportPipe" method="processRequest" file="DeferredTransportPipe.java" line="123" />
    <frame class="com.sun.xml.internal.ws.api.pipe.Fiber" method="__doRun" file="Fiber.java" line="626" />
    <frame class="com.sun.xml.internal.ws.api.pipe.Fiber" method="_doRun" file="Fiber.java" line="585" />
    <frame class="com.sun.xml.internal.ws.api.pipe.Fiber" method="doRun" file="Fiber.java" line="570" />
    <frame class="com.sun.xml.internal.ws.api.pipe.Fiber" method="runSync" file="Fiber.java" line="467" />
    <frame class="com.sun.xml.internal.ws.client.Stub" method="process" file="Stub.java" line="308" />
    <frame class="com.sun.xml.internal.ws.client.sei.SEIStub" method="doProcess" file="SEIStub.java" line="146" />
    <frame class="com.sun.xml.internal.ws.client.sei.SyncMethodHandler" method="invoke" file="SyncMethodHandler.java" line="98" />
    <frame class="com.sun.xml.internal.ws.client.sei.SyncMethodHandler" method="invoke" file="SyncMethodHandler.java" line="78" />
    <frame class="com.sun.xml.internal.ws.client.sei.SEIStub" method="invoke" file="SEIStub.java" line="129" />
    <frame class="com.sun.proxy.$Proxy58" method="retrieveServiceContent" file="unknown" line="-1" />
    <frame class="com.hp.ucmdb.discovery.library.clients.vmware.vcenter.jaxws.JaxWsAgent" method="connect" file="JaxWsAgent.java" line="86" />
    <frame class="com.hp.ucmdb.discovery.library.clients.vmware.vcenter.VmwareClient" method="createWrapper" file="VmwareClient.java" line="87" />
    <frame class="com.hp.ucmdb.discovery.library.clients.BaseClient" method="initPrivate" file="BaseClient.java" line="218" />
    <frame class="com.hp.ucmdb.discovery.library.clients.BaseClient" method="init" file="BaseClient.java" line="132" />
    <frame class="com.hp.ucmdb.discovery.library.clients.BaseClient" method="&lt;init&gt;" file="BaseClient.java" line="106" />
    <frame class="com.hp.ucmdb.discovery.library.clients.vmware.vcenter.VmwareClient" method="&lt;init&gt;" file="VmwareClient.java" line="43" />
    <frame class="sun.reflect.NativeConstructorAccessorImpl" method="newInstance0" file="NativeConstructorAccessorImpl.java" line="-2" />
    <frame class="sun.reflect.NativeConstructorAccessorImpl" method="newInstance" file="NativeConstructorAccessorImpl.java" line="57" />
    <frame class="sun.reflect.DelegatingConstructorAccessorImpl" method="newInstance" file="DelegatingConstructorAccessorImpl.java" line="45" />
    <frame class="java.lang.reflect.Constructor" method="newInstance" file="Constructor.java" line="525" />
    <frame class="com.hp.ucmdb.discovery.library.clients.ClientFactory" method="createClient" file="ClientFactory.java" line="155" />
    <frame class="com.hp.ucmdb.discovery.library.clients.ClientsFrameworkImpl" method="createClient" file="ClientsFrameworkImpl.java" line="110" />
    <frame class="com.hp.ucmdb.discovery.library.clients.ClientsFrameworkImpl" method="createClient" file="ClientsFrameworkImpl.java" line="74" />
    <frame class="sun.reflect.NativeMethodAccessorImpl" method="invoke0" file="NativeMethodAccessorImpl.java" line="-2" />
    <frame class="sun.reflect.NativeMethodAccessorImpl" method="invoke" file="NativeMethodAccessorImpl.java" line="57" />
    <frame class="sun.reflect.DelegatingMethodAccessorImpl" method="invoke" file="DelegatingMethodAccessorImpl.java" line="43" />
    <frame class="java.lang.reflect.Method" method="invoke" file="Method.java" line="601" />
    <frame class="org.python.core.PyReflectedFunction" method="__call__" file="PyReflectedFunction.java" line="186" />
    <frame class="org.python.core.PyReflectedFunction" method="__call__" file="PyReflectedFunction.java" line="204" />
    <frame class="org.python.core.PyObject" method="__call__" file="PyObject.java" line="404" />
    <frame class="org.python.core.PyObject" method="__call__" file="PyObject.java" line="408" />
    <frame class="org.python.core.PyMethod" method="__call__" file="PyMethod.java" line="124" />
    <frame class="org.python.pycode._pyx56" method="createClientOfVersion$14" file="vmware_vim" line="121" />
    <frame class="org.python.pycode._pyx56" method="call_function" file="vmware_vim" line="-1" />
    <frame class="org.python.core.PyTableCode" method="call" file="PyTableCode.java" line="165" />
    <frame class="org.python.core.PyBaseCode" method="call" file="PyBaseCode.java" line="149" />
    <frame class="org.python.core.PyFunction" method="__call__" file="PyFunction.java" line="327" />
    <frame class="org.python.core.PyMethod" method="__call__" file="PyMethod.java" line="124" />
    <frame class="org.python.pycode._pyx56" method="createClient$13" file="vmware_vim" line="114" />
    <frame class="org.python.pycode._pyx56" method="call_function" file="vmware_vim" line="-1" />
    <frame class="org.python.core.PyTableCode" method="call" file="PyTableCode.java" line="165" />
    <frame class="org.python.core.PyBaseCode" method="call" file="PyBaseCode.java" line="134" />
    <frame class="org.python.core.PyFunction" method="__call__" file="PyFunction.java" line="317" />
    <frame class="org.python.core.PyMethod" method="__call__" file="PyMethod.java" line="109" />
    <frame class="org.python.pycode._pyx56" method="_connectByContext$55" file="vmware_vim" line="480" />
    <frame class="org.python.pycode._pyx56" method="call_function" file="vmware_vim" line="-1" />
    <frame class="org.python.core.PyTableCode" method="call" file="PyTableCode.java" line="165" />
    <frame class="org.python.core.PyBaseCode" method="call" file="PyBaseCode.java" line="149" />
    <frame class="org.python.core.PyFunction" method="__call__" file="PyFunction.java" line="327" />
    <frame class="org.python.core.PyMethod" method="__call__" file="PyMethod.java" line="124" />
    <frame class="org.python.pycode._pyx56" method="discover$54" file="vmware_vim" line="417" />
    <frame class="org.python.pycode._pyx56" method="call_function" file="vmware_vim" line="-1" />
    <frame class="org.python.core.PyTableCode" method="call" file="PyTableCode.java" line="165" />
    <frame class="org.python.core.PyBaseCode" method="call" file="PyBaseCode.java" line="301" />
    <frame class="org.python.core.PyBaseCode" method="call" file="PyBaseCode.java" line="127" />
    <frame class="org.python.core.PyFunction" method="__call__" file="PyFunction.java" line="317" />
    <frame class="org.python.core.PyMethod" method="__call__" file="PyMethod.java" line="109" />
    <frame class="org.python.pycode._pyx57" method="DiscoveryMain$8" file="vmware_virtualcenter_connection_by_vim" line="119" />
    <frame class="org.python.pycode._pyx57" method="call_function" file="vmware_virtualcenter_connection_by_vim" line="-1" />
    <frame class="org.python.core.PyTableCode" method="call" file="PyTableCode.java" line="165" />
    <frame class="org.python.core.PyBaseCode" method="call" file="PyBaseCode.java" line="134" />
    <frame class="org.python.core.PyFunction" method="__call__" file="PyFunction.java" line="317" />
    <frame class="org.python.pycode._pyx58" method="f$0" file="&lt;string&gt;" line="2" />
    <frame class="org.python.pycode._pyx58" method="call_function" file="&lt;string&gt;" line="-1" />
    <frame class="org.python.core.PyTableCode" method="call" file="PyTableCode.java" line="165" />
    <frame class="org.python.core.PyCode" method="call" file="PyCode.java" line="18" />
    <frame class="org.python.core.Py" method="runCode" file="Py.java" line="1275" />
    <frame class="org.python.core.Py" method="exec" file="Py.java" line="1319" />
    <frame class="org.python.util.PythonInterpreter" method="exec" file="PythonInterpreter.java" line="206" />
    <frame class="com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl" method="executeScript" file="ExecutionEngineImpl.java" line="259" />
    <frame class="com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl" method="executeScript" file="ExecutionEngineImpl.java" line="233" />
    <frame class="com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl" method="executeScript" file="ExecutionEngineImpl.java" line="229" />
    <frame class="com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl" method="executeScripts" file="ExecutionEngineImpl.java" line="146" />
    <frame class="com.hp.ucmdb.discovery.library.execution.impl.ExecutionEngineImpl" method="execute" file="ExecutionEngineImpl.java" line="96" />
    <frame class="com.hp.ucmdb.discovery.probe.services.dynamic.core.TablesProcessorUtil" method="processDestinationTables" file="TablesProcessorUtil.java" line="136" />
    <frame class="com.hp.ucmdb.discovery.probe.services.dynamic.core.DynamicService" method="discover" file="DynamicService.java" line="76" />
    <frame class="com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.JobExecuter" method="launchTask" file="JobExecuter.java" line="1199" />
    <frame class="com.hp.ucmdb.discovery.probe.agents.probemgr.taskexecuter.remote.RemoteJobExecutor" method="main" file="RemoteJobExecutor.java" line="153" />
   </stacktrace>
  </ERROR>
  <ClientProperties>
   <prop name="protocol_timeout" value="2000" />
   <prop name="protocol_netaddress" value="DEFAULT" />
   <prop name="credentialsId" value="11_1_CMS" />
   <prop name="protocol_type" value="vmwareprotocol" />
   <prop name="connection_url" value="http://130.175.******/sdk" />
   <prop name="user_label" value="Pontiac Lab UD Probe" />
   <prop name="protocol_username" value="*********" />
   <prop name="vmwareprotocol_use_ssl" value="false" />
   <prop name="protocol_port" value="" />
   <prop name="protocol_in_use" value="false" />
   <prop name="cm_credential_id" value="11_1_CMS" />
   <prop name="protocol_version" value="2.5" />
   <prop name="protocol_index" value="1" />
  </ClientProperties>
 </CONNECT>
 <log start="07:32:55" severity="debug">The server sent HTTP status code 301: Moved Permanently</log>
 <log start="07:32:55" severity="debug">VMware VIM: Internal error. Details: The server sent HTTP status code 301: Moved Permanently</log>
 <log start="07:32:55" severity="info">Execution current time:2015/06/15 07:32:55</log>
</execution>

0 Likes
Highlighted
Regular Contributor.. Regular Contributor..
Regular Contributor..

Re: UD job for Vmware Vcenter connection by VIM is failling with HTTP status code 301 error

What does your VMware VirtualCenter CI look like?  The Connection URL is a attribute in the VMware VirtualCenter CI . What port is on attribute Connection URL?

Regarding the VMware VIM Protocol, what port do you have defined in your credential? ,  if you have it defined as 9443 try changing it to 443 (and User SSL set to Yes).

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.