Proxy authentication error, how to fix it?

From Array Suite Wiki

Jump to: navigation, search

When trying to access Array Studio from a local area network PC running windows 7 in which the proxy requires authentication, you may receive the error (list below) or with message "The remote server returned an error: (407) Proxy Authentication Required"

To fix this issue, try setting the Proxy Authentication in the following way (Administrative Privileges may be required):

  • First, confirm that you installed the .NET fix (caused by a known Microsoft .NET bug)
  • Go to Administrative Tools -> Local Security Policy -> Local Policies -> Security Option
  • Change "Network security: LAN Manager authentication level" to "LM & NTLM-Use NTLMv2 session if negotiated".

Install/Start Array Studio to confirm that the issue has been fixed.

If all above is not working, maybe there are some old "expired" proxy info recorded in your ArrayStudio setting files. Move all .settings file in the "C:\Users\Gary\Documents\Omicsoft" folder, and then restart ArrayStudio.

Example of error log

PLATFORM VERSION INFO
	Windows 			: 6.1.7601.65536 (Win32NT)
	Common Language Runtime 	: 2.0.50727.5466
	System.Deployment.dll 		: 2.0.50727.5420 (Win7SP1.050727-5400)
	mscorwks.dll 			: 2.0.50727.5466 (Win7SP1GDR.050727-5400)
	dfdll.dll 			: 2.0.50727.4927 (NetFXspW7.050727-4900)
	dfshim.dll 			: 4.0.40305.0 (Main.040305-0000)
 
SOURCES
	Deployment url			: http://www.omicsoft.com/software/ArrayStudioLauncher/ArrayStudioLauncher.application
 
ERROR SUMMARY
	Below is a summary of the errors, details of these errors are listed later in the log.
	* Activation of http://www.omicsoft.com/software/ArrayStudioLauncher/ArrayStudioLauncher.application resulted in exception. Following failure messages were detected:
		+ Downloading http://www.omicsoft.com/software/ArrayStudioLauncher/ArrayStudioLauncher.application did not succeed.
		+ The remote server returned an error: (407) Proxy Authentication Required.
		+ The token supplied to the function is invalid
 
COMPONENT STORE TRANSACTION FAILURE SUMMARY
	No transaction error was detected.
 
WARNINGS
	There were no warnings during this operation.
 
OPERATION PROGRESS STATUS
	* [4/26/2013 12:04:05 PM] : Activation of http://www.omicsoft.com/software/ArrayStudioLauncher/ArrayStudioLauncher.application has started.
 
ERROR DETAILS
	Following errors were detected during this operation.
	* [4/26/2013 12:04:05 PM] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
		- Downloading http://www.omicsoft.com/software/ArrayStudioLauncher/ArrayStudioLauncher.application did not succeed.
		- Source: System.Deployment
		- Stack trace:
			at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
			at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
			at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
			at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
			at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
			at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
			at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl)
			at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)
		--- Inner Exception ---
		System.Net.WebException
		- The remote server returned an error: (407) Proxy Authentication Required.
		- Source: System
		- Stack trace:
			at System.Net.HttpWebRequest.GetResponse()
			at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
		--- Inner Exception ---
		System.ComponentModel.Win32Exception
		- The token supplied to the function is invalid
		- Source: System
		- Stack trace:
			at System.Net.NTAuthentication.GetOutgoingBlob(Byte[] incomingBlob, Boolean throwOnError, SecurityStatus& statusCode)
			at System.Net.NTAuthentication.GetOutgoingBlob(String incomingBlob)
			at System.Net.NtlmClient.DoAuthenticate(String challenge, WebRequest webRequest, ICredentials credentials, Boolean preAuthenticate)
			at System.Net.NtlmClient.Authenticate(String challenge, WebRequest webRequest, ICredentials credentials)
			at System.Net.AuthenticationManager.Authenticate(String challenge, WebRequest request, ICredentials credentials)
			at System.Net.AuthenticationState.AttemptAuthenticate(HttpWebRequest httpWebRequest, ICredentials authInfo)
			at System.Net.HttpWebRequest.CheckResubmitForAuth()
			at System.Net.HttpWebRequest.CheckResubmit(Exception& e)
 
COMPONENT STORE TRANSACTION DETAILS
	No transaction information is available.