[Mono-bugs] [Bug 66768][Nor] New - Remoting: tcp channel not working

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 24 Sep 2004 04:04:49 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gert.driesen@pandora.be.

http://bugzilla.ximian.com/show_bug.cgi?id=66768

--- shadow/66768	2004-09-24 04:04:49.000000000 -0400
+++ shadow/66768.tmp.28523	2004-09-24 04:04:49.000000000 -0400
@@ -0,0 +1,51 @@
+Bug#: 66768
+Product: Mono: Class Libraries
+Version: unspecified
+OS: All
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: CORLIB
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: gert.driesen@pandora.be               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Remoting: tcp channel not working
+
+I'm trying to use remoting through a tcp channel. However, when both the 
+client and the server run on Mono, I get the following exception :
+
+Unhandled Exception: System.Runtime.Remoting.RemotingException: Cannot 
+create channel sink to connect to the remote object. An appropriate 
+channel has probably not been registered.
+in <0x000b2> 
+System.Runtime.Remoting.RemotingServices:GetClientChannelSinkChain 
+(string,object,string&)
+in <0x000af> 
+System.Runtime.Remoting.RemotingServices:GetOrCreateClientIdentity 
+(System.Runtime.Remoting.ObjRef,System.Type,object&)
+in <0x0001c> System.Runtime.Remoting.RemotingServices:GetRemoteObject 
+(System.Runtime.Remoting.ObjRef,System.Type)
+in <0x00037> System.Runtime.Remoting.RemotingServices:Connect 
+(System.Type,string,object)
+in <0x00011> System.Activator:GetObject (System.Type,string,object)
+in <0x0005e> RemotingClient:Main ()
+
+When I run the server on Mono and the client on MS.NET I get a timeout :
+
+Unhandled Exception: System.Net.Sockets.SocketException: A connection 
+attempt failed because the connected party did not properly respond after 
+a period of time, or established connection failed because connected host 
+has failed to respond
+
+I've attached a tar containing a repro for this issue :
+
+to run the server, use "make server"
+to run the client, use "make client"
+
+Note: I can reproduce this using mono 1.0.1 on windows, and CVS HEAD on 
+linux.