Quantcast
Channel: VMware Communities : All Content - vRealize Automation Tools
Viewing all articles
Browse latest Browse all 9859

vRA 7: VRM Agent HTTP status 401: Unauthorized

$
0
0

Hi Guys,

 

I googled alot now and didn't find anything usefull for me.

 

I configured vRA and now I got a problem with my vCenter Agent. I checked my credentials a hundred times, did a reinstall of the IaaS server and checked every single property in my IIS.

But still getting the Error connection:

Error connecting to [https://iaas/sdk], error details: The request failed with HTTP status 401: Unauthorized

 


Short facts to my configuration:

vRA Appliance and IaaS Server are in the same subnet, all needed ports opened. I'm using an AD systemaccount (Log on as batch, Log on as Service, local Administrator on the IaaS)

 

Here the lates Log Entry from the agent:

[11.03.2016 08:09:17] [Debug]: Thread-Id="9" - context=""  token=""     Starting Ping Report

[11.03.2016 08:09:17] [Error]: Thread-Id="9" - context=""  token="" <?xml version="1.0" encoding="utf-16"?>

<boolean>false</boolean>

Error connecting to [https://iaas/sdk], error details:

System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

   at VMware.vSphere.VimService.RetrieveServiceContent(ManagedObjectReference _this)

   at DynamicOps.Vrm.Agent.vSphere.VSphereSession.Connect(String username, String password)

[11.03.2016 08:09:17] [Debug]: Thread-Id="9" - context=""  token="" This exception was caught:

System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

   at VMware.vSphere.VimService.RetrieveServiceContent(ManagedObjectReference _this)

   at DynamicOps.Vrm.Agent.vSphere.VSphereSession.Connect(String username, String password)

   at DynamicOps.Vrm.Agent.vSphere.VSphereHypervisorServiceProvider.GetComputeResources(ManagementEndpoint managementEndpoint)

   at DynamicOps.Vrm.Agent.vSphere.VSphereAgentService.GetHostClusterList()

   at DynamicOps.Vrm.Agent.Core.VRMCoreAgent.SendPingReport()

   at DynamicOps.Vrm.Agent.Core.CoreAgentBase.SendPingReportLoop(Object sender, ElapsedEventArgs e)

[11.03.2016 08:09:17] [Error]: Thread-Id="9" - context=""  token="" <?xml version="1.0" encoding="utf-16"?>

<boolean>false</boolean>

This exception was caught:

System.Net.WebException: The request failed with HTTP status 401: Unauthorized.

   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)

   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)

   at VMware.vSphere.VimService.RetrieveServiceContent(ManagedObjectReference _this)

   at DynamicOps.Vrm.Agent.vSphere.VSphereSession.Connect(String username, String password)

   at DynamicOps.Vrm.Agent.vSphere.VSphereHypervisorServiceProvider.GetComputeResources(ManagementEndpoint managementEndpoint)

   at DynamicOps.Vrm.Agent.vSphere.VSphereAgentService.GetHostClusterList()

   at DynamicOps.Vrm.Agent.Core.VRMCoreAgent.SendPingReport()

   at DynamicOps.Vrm.Agent.Core.CoreAgentBase.SendPingReportLoop(Object sender, ElapsedEventArgs e)

 

 

Hopefully someone can give me some hints.

Thanks in advance

 

Susie


Viewing all articles
Browse latest Browse all 9859

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>