Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-16-2005
JaneShang 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: 12
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.
Reply With Quote
  #2 (permalink)  
Old 06-16-2005
matthew's Avatar
matthew matthew is offline
ZeroC Staff
 
Name: Matthew Newhook
Organization: ZeroC, Inc.
Project: Internet Communications Engine
 
Join Date: Feb 2003
Location: NL, Canada
Posts: 1,052
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
Reply With Quote
  #3 (permalink)  
Old 06-16-2005
JaneShang 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: 12
Thanks!

Oh, we got the point of problem.

Glacier2.Client.PublishedEndpoints = ....

It's a little tricky..

Anyway, thanks a million.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question about Glacier2 shoulder Help Center 5 07-03-2008 09:09 AM
Question about Glacier2.Client.SleepTime rc_hz Comments 6 11-16-2006 07:21 PM
Question about Glacier2 davidcr1983 Help Center 2 08-10-2006 05:13 PM
Session Management with Glacier2 question 123w456t Help Center 1 03-29-2006 06:46 PM
Glacier2 routedproxy question xdm Help Center 1 01-05-2006 12:47 PM


All times are GMT -4. The time now is 08:03 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.