Home > Microsoft > The remote server returned an error: (407) Proxy Authentication Required

The remote server returned an error: (407) Proxy Authentication Required

Error: “The remote server returned an error: (407) Proxy Authentication Required”

Problem Description

When  running the Foglight Virtual VMware agent you receive the error on the console and in the collector logs:

“YYYY-MM-DD HH:MM:SS,SSS [7] ERROR Logging – GetInventory – Error Getting Inventory. Error: The remote server returned an error: (407) Proxy Authentication Required.     at System.Net.HttpWebRequest.GetRequestStream()

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

at Vizioncore.Vmware.Vim.VimService.RetrieveServiceContent(ManagedObjectReference _this)

at Vizioncore.Vmware.Vim.VimConnector.Connect()

at Vizioncore.Vmware.Vim.VimConnector..ctor(ConnectionInfo connectionInfo)

at Vizioncore.Vmware.Vim.VimHierarchy.get_RootFolder()

at FoglightEngine.GetInventory()”

Cause:

The Collector and Connector pass information through HTTP, therefore it requires a Windows machine that can allow local internet traffic to pass without the use of a proxy server.   The agent does not require external http access.   This can also be caused by the .net framework caching the proxy information/or this being corrupted.   You can view what .net has cached in the registry  under:

HKEY_USERS\SID_NAME\Software\Microsoft\Windows\CurrentVersion\

Internet Settings\Connections

Resolution:

You can remove this entry from the registry after identifying the SID for the .net proxy setting – you can do this by viewing each key in turn.

The other option is to make sure the the IE proxy is turned off through Internet Explorer.   If none of the above work you need to move the agent to a machine that does not require proxy.

Advertisements
Categories: Microsoft
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: