The SIF® Zone
creating, assimilating, and promoting excellence in SIF® agent development

(407) Proxy Authentication Required

rated by 0 users
Not Answered This post has 0 verified answers | 2 Replies | 2 Followers

Top 50 Contributor
3 Posts
Points 35
Charles.Colaco posted on 12-22-2009 15:09

Hello there,

We are tiring to connect to SIF Test Harness tool using ADK and I'm getting the following error when using zone.Connect(ProvisioningFlags.Register);

I have tried using the following, but with no luck

zone.Properties.SetProperty("http.proxyHost", "[192.168.125.150]");
zone.Properties.SetProperty("http.proxyPort", "[80]");

Error:
====
{An unexpected error occurred while receiving data from the ZIS: System.Net.WebException: The remote server returned an error: (407) Proxy Authentication Required.
at System.Net.HttpWebRequest.GetResponse()
at Edustructures.SifWorks.Impl.BaseHttpProtocolHandler.TrySend(IMessageOutputStream msg)}

ENV:
====
SIFWork 2.2.0
.NET 3.5
VS 2008
Windows XP pro


ZONE:
====
<zone id="SIfINfo" template="Default" url="htTp://compliANce.SIFinFO.ORg:8080/5DD31F80EF4611DE9AB7886D032819C1;5DD31F81EF4611DE9AB7C8F58D8441BF/L~ESCwESC$ESC(ESC2AESC+HTcESC99!ESC26ESCESCw4zS0**1W3@OHESC,B12+-$gVESCZHL8)0ESC+rJPj,ESCVIESCWsZouX)oT2EKESCESCESCESCtPyUo7B+z1MjESCESC@BESCwX8ESCESCH" >
<!--<property name="SyncAtStartup" value ="true" />
<property name="SchoolYear" value ="2009" />-->
<!--<property name="SchoolRefId" value ="XYZABSCDEFG" />-->
</zone>

We connect to internet using proxy server

Any help is appreciated.

  • | Post Points: 25

All Replies

Top 10 Contributor
215 Posts
Points 5,055

The .NET ADK uses standard .NET configuration to deal with proxy settings on outbound requests. Therefore, you need to set the proxy information in the application config file. Here's a link to more info: http://msdn.microsoft.com/en-us/library/sa91de1e.aspx

Andrew Elmhorst
Chief Architect
Edustructures 

  • | Post Points: 25
Top 50 Contributor
3 Posts
Points 35

thanks Andy for your response.

I have defined the following setting in app.config file( I'm testing using console app, evently it will be a windows Service Agent), but I'm still getting the same error. How does ADK picks this setting when connecting to the Zone.

<system.net>
        <defaultProxy>
            <proxy usesystemdefault="True" />
        </defaultProxy>
</system.net> 

  • | Post Points: 5
Page 1 of 1 (3 items) | RSS
Copyright ©2006-2009 sifzone.com
Sponsored by Edustructures
We Connect the Systems that Power Education
 
SIF and Schools Interoperability Framework are trademarks of the Schools Interoperability Framework Association.