Results 1 to 3 of 3

Thread: Question about Glacier2!

  1. #1
    JaneShang is offline Registered User
    Name: YuLiang, Shang
    Organization: Korea Advance Insitute of Science and Technology.
    Project: Human Robitics Remote Controller
    Join Date
    Apr 2005
    Posts
    14

    Question about Glacier2!

    Dear Sir,

    We have some problems with Glacier2. The system deployment as follows:

    Client: 193.168.10.200

    Firewall(NAT): 193.168.10.115(public) 193.168.80.2(private)

    Glacier2: 193.168.80.128
    Server: 193.168.80.128
    -------------------------------------------------
    And Configuration as follows:

    Client Section:
    Ice.Default.Router = Glacier2/router: tcp -h 193.168.10.115 -p 10005
    Ice.ConnectionIdleTime = 0
    Ice.MonitorConnections = 60
    Ice.RetryIntervals = -1

    Comm.Proxy = comm:tcp -h 193.168.80.128 -p 10000

    Glacier2 Section:
    Glacier2.Client.Endpoints = tcp -h 193.168.80.128 -p 10005
    # No Callback
    #Glacier2.Server.Endpoints = tcp -h 193.168.80.128

    Server Section:
    Comm.Endpoints = tcp -h 193.168.80.128 -p 10000
    ------------------------------------------------------
    In our case, Glacier2 and Server are in the same host. And in Firewall, we forward 193.168.10.115:10005 to 193.168.80.128:10005

    We start Glacier2 and Server, then start Client.
    And the problem is:
    After Client create session successfully, and Client read Comm.Proxy property, and try to get this proxy...

    In program, the code like:
    Ice::ObjectPrx base = communicator->stringToProxy(proxy);
    CommPrx comm = CommPrx::checkCast(base);


    The Client suspend...
    And from ICE trace message, we got that: Client request Glacier/Router on operation: getClientProxy
    The message shows that this operation is OK...

    By the way, I run Client, Glacier2, Server in one host, everyting is OK..

    So what's the problem?

    Shang,Y.L.

  2. #2
    matthew's Avatar
    matthew is offline ZeroC Staff
    Name: Matthew Newhook
    Organization: ZeroC, Inc.
    Project: Internet Communications Engine
    Join Date
    Feb 2003
    Location
    NL, Canada
    Posts
    1,458
    You haven't set Glacier up correctly to work behind a firewall. Take a look at Connections issue 2 where my article on Glacier discusses this issue.

    Regards, Matthew

  3. #3
    JaneShang is offline Registered User
    Name: YuLiang, Shang
    Organization: Korea Advance Insitute of Science and Technology.
    Project: Human Robitics Remote Controller
    Join Date
    Apr 2005
    Posts
    14

    Thanks!

    Oh, we got the point of problem.

    Glacier2.Client.PublishedEndpoints = ....

    It's a little tricky..

    Anyway, thanks a million.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Question about Glacier2
    By shoulder in forum Help Center
    Replies: 5
    Last Post: 07-03-2008, 08:09 AM
  2. IceStorm Glacier2 Question
    By bigtim in forum Help Center
    Replies: 10
    Last Post: 11-05-2007, 03:16 PM
  3. Question about Glacier2
    By davidcr1983 in forum Help Center
    Replies: 2
    Last Post: 08-10-2006, 04:13 PM
  4. Glacier2 routedproxy question
    By xdm in forum Help Center
    Replies: 1
    Last Post: 01-05-2006, 11:47 AM
  5. IcePack Query and Glacier2 question
    By aerowyn in forum Help Center
    Replies: 6
    Last Post: 10-16-2005, 02:15 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •