Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Distributed Applications / April 2007

Tip: Looking for answers? Try searching our database.

Remoting - Multiple chanels not working

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
driesie - 17 Apr 2007 09:52 GMT
Hi,
I have a problem with remoting and configuring listeners on multiple
channels (different IPs, different networks).

Basically, the setup we have is 2 web servers (different networks)
connecting to one application server. So we have:
A: webserver on network 1
B: application server on network 1
C: web server on network 2
Firewall has only port 443 open between network 1 and 2.

We have a configuration like this on the app server:

<system.runtime.remoting>
 <application name="AppServerName">
   <channels>
     <channel ref="tcp"
          authorizationModule="
Application.RemoteConnectionAuthentication, Application"
          name="NetworkOneFacingListener"
          port="443"
          bindTo="192.168.xx.xx"
          secure="true"
          authenticationMode="IdentifyCallers"
          tokenImpersonationLevel="identification"
      >
      <serverProviders>
        <formatter ref="binary" typeFilterLevel="Full" />
      </serverProviders>
  </channel>
  <channel ref="tcp"
     authorizationModule="Application.RemoteConnectionAuthentication,
Application"
     name="NetworkTwoFacingListener"
     port="9090"
     bindTo="10.84.xxx.xx"
     secure="true"
     authenticationMode="IdentifyCallers"
     tokenImpersonationLevel="identification"
  >
    <serverProviders>
      <formatter ref="binary" typeFilterLevel="Full" />
    </serverProviders>
  </channel>
</channels>
</application>
</system.runtime.remoting>

This works, but the odd thing is it only works for the first client
channel configured. So in the above example, the client connecting to
NetworkOneFacingListener will work, but the other won't, and when the
config swapped and server restarted it will work for the other.

That seems like a bug in the .NET framework, but even though I can find some
posts online refering to similar issues, I haven't found a solution yet.

Can somebody from MS confirm if this is "expected" behaviour, and what would
the fix for it be?

Thanks,

Dries
driesie - 20 Apr 2007 12:10 GMT
Surely somebody must know something? I thought Microsoft technical advisers
were supposed to reply within 2 working days?

Doing some more testing, the odd thing is that it looks like it's always
making a connection but not receiving a reply.
In the example below, I can always connecting on NetworkOneFacingListener
(first channel configured), but when I try on NetworkTwoFacingListener, the
client seems to connect, but when I actually request an object (implemented a
simple ping functionality returning a byte array or string), I get a
SocketException. It looks as if it is connecting, then sending, but the
client never receives.

Regards,

Dries.

> Hi,
> I have a problem with remoting and configuring listeners on multiple
[quoted text clipped - 58 lines]
>
> Dries

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.