Search the web
Sign In
New User? Sign Up
XMLRPCNET · XML-RPC.NET
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Hear how Yahoo! Groups has changed the lives of others. Take me there.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Proxy Authentication Required   Message List  
Reply | Forward Message #1089 of 1226 |
Re: Proxy Authentication Required

I just figured out what's causing this. The internet settings on my
workstation are configured to go through a proxy even though this
particular XML-RPC service I'm talking to is internal. It appears that
the HTTP connection is getting reset after the first response is
received. I went into my internet settings and deselected the check
box to go through the proxy. The client is working now.

Thanks,

-M



--- In XMLRPCNET@yahoogroups.com, "mdomarotsky" <mdomarotsky@...> wrote:
>
> Hello,
>
> I'm seeing a strange error with a proxy that I've generated. The first
> time I make a call with the client proxy, it works fine. Once I make a
> second call, I get an "Proxy Authentication Required". I've noticed
> from this mailing list that folks had similar problems with this on
> Mono but I'm not using Mono. Has anyone seen this problem before?
>
> Thank you,
>
> -M
>
> Here's the code:
>
> public void RunQuery()
> {
> proxy = XmlRpcProxyGen.Create<IEyeQLQuery>();
>
> string version = proxy.FisheyeVersion(); // works fine
> version = proxy.FisheyeVersion(); // exception thown here
>
> Console.WriteLine(version);
> }
>
> Here's the error:
>
> CookComputing.XmlRpc.XmlRpcServerException was unhandled
> Message="Proxy Authentication Required"
> Source="CookComputing.XmlRpcV2"
> StackTrace:
> at
> CookComputing.XmlRpc.XmlRpcClientProtocol.ReadResponse(XmlRpcRequest
> req, WebResponse webResp, Stream respStm, Type returnType) in
> C:\work\installs\xml-rpc.net.2.3.2\src\XmlRpcClientProtocol.cs:line 475
> at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(Object
> clientObj, MethodInfo mi, Object[] parameters) in
> C:\work\installs\xml-rpc.net.2.3.2\src\XmlRpcClientProtocol.cs:line 204
> at CookComputing.XmlRpc.XmlRpcClientProtocol.Invoke(MethodInfo
> mi, Object[] Parameters) in
> C:\work\installs\xml-rpc.net.2.3.2\src\XmlRpcClientProtocol.cs:line 102
> at
XmlRpcProxy769f18eb-3254-478f-a0a1-24e330d3c0aa.FisheyeVersion()
> at p4odbctest.FisheyeQueryTest.RunQuery() in
> C:\work\sandbox\p4odbctest\p4odbctest\Program.cs:line 33
> at p4odbctest.Program.Main(String[] args) in
> C:\work\sandbox\p4odbctest\p4odbctest\Program.cs:line 15
> at System.AppDomain.nExecuteAssembly(Assembly assembly,
> String[] args)
> at System.AppDomain.ExecuteAssembly(String assemblyFile,
> Evidence assemblySecurity, String[] args)
> at
> Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
> at System.Threading.ThreadHelper.ThreadStart_Context(Object
state)
> at System.Threading.ExecutionContext.Run(ExecutionContext
> executionContext, ContextCallback callback, Object state)
> at System.Threading.ThreadHelper.ThreadStart()
>





Wed Oct 29, 2008 10:52 pm

mdomarotsky
Offline Offline
Send Email Send Email

Forward
Message #1089 of 1226 |
Expand Messages Author Sort by Date

Hello, I'm seeing a strange error with a proxy that I've generated. The first time I make a call with the client proxy, it works fine. Once I make a second...
mdomarotsky
Offline Send Email
Oct 29, 2008
10:35 pm

I just figured out what's causing this. The internet settings on my workstation are configured to go through a proxy even though this particular XML-RPC...
mdomarotsky
Offline Send Email
Oct 29, 2008
10:52 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help