[Mono-dev] remoting after ip change

Carlos Solorzano carlos at applianz.com
Tue Apr 18 15:33:00 EDT 2006


I have problem that when I change the IP of the system doing remoting to 
itself some parts of remoting fail.

The error I get is at the bottom. What is really strange is that part of 
the remoting works, as far as I can tell I can retrieve the remoting 
object using Activator.GetObject and I can make a method call which 
returns an array of Marshalbyref objects. The error doesn't happen until 
I start looping those Objects and printing out values from them. If I 
kill the code and run it again then it works just fine, this only 
happens when the IP changes while the code is running. Any ideas?


System.Net.WebException: Error: ConnectFailure
in <0x000e1> System.Net.HttpWebRequest:EndGetRequestStream (IAsyncResult 
asyncResult)
in <0x00077> System.Net.HttpWebRequest:GetRequestStream ()
in <0x002ab> 
System.Runtime.Remoting.Channels.Http.HttpClientTransportSink:CreateWebRequest 
(System.String url, ITransportHeaders requestHeaders, System.IO.Stream 
requestStream)
in <0x000d0> 
System.Runtime.Remoting.Channels.Http.HttpClientTransportSink:ProcessMessage 
(IMessage msg, ITransportHeaders requestHeaders, System.IO.Stream 
requestStream, ITransportHeaders responseHeaders, System.IO.Stream 
responseStream)
in <0x00068> 
System.Runtime.Remoting.Channels.SoapClientFormatterSink:SyncProcessMessage 
(IMessage msg)
in <0x002e8> System.Runtime.Remoting.Proxies.RemotingProxy:Invoke 
(IMessage request)
in <0x002e5> System.Runtime.Remoting.Proxies.RealProxy:PrivateInvoke 
(System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, 
System.Exception exc, System.Object[] out_args)




More information about the Mono-devel-list mailing list