[AG-TECH] what --insecure does, and what should it do?

Eric Olson eolson at mcs.anl.gov
Tue Sep 14 12:46:51 CDT 2004

Hi Dave,
I get that error when I use "https" instead of "http" in the venueclient 
when connecting to an insecure server.  Try using http in the url to 
connect to a server that was started with the --insecure option.
  (if you don't get the tcpAttr error anymore, but then the connection is 
refused, make sure your hostname and ip address resolve to each other or 
set GLOBUS_HOSTNAME to your ip)

The insecure option isn't heavily supported or tested in the core toolkit, 
but there's now a feature request in bugzilla to propose designing 
selectable security protocols into the toolkit.
If anybody has interest in something like this being in the next version 
of the toolkit, please vote for it in bugzilla and add any suggestions or 
comments you might have.


On Tue, 14 Sep 2004, David G Mills wrote:

> When I run the VenueClient with the --insecure parameter the client 
> launches fine, however, when I try to connect to a venue server the client 
> doesn't connect and the debugging output shows AG crashing ad complaining 
> about its own code. Here's what I get:
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.3/site-packages/AccessGrid/VenueClient.py", 
> line 841, in EnterVenue
>     self.__EnterVenue(URL)
>   File "/usr/local/lib/python2.3/site-packages/AccessGrid/VenueClient.py", 
> line 712, in __EnterVenue
>     (venueState, self.privateId, self.streamDescList ) = 
> self.__venueProxy.Enter( self.profile )
>   File "/usr/local/lib/python2.3/site-packages/AccessGrid/Venue.py", line 
> 3339, in Enter
>     (r1, r2, r3) = self.proxy.Enter(profile)
>   File "/usr/local/lib/python2.3/site-packages/SOAPpy/Client.py", line 
> 465, in __call__
>     return self.__r_call(*args, **kw)
>   File "/usr/local/lib/python2.3/site-packages/SOAPpy/Client.py", line 
> 487, in __r_call
>     self.__hd, self.__ma)
>   File "/usr/local/lib/python2.3/site-packages/SOAPpy/Client.py", line 
> 359, in __call
>     config = self.config)
>   File "/usr/local/lib/python2.3/site-packages/SOAPpy/Client.py", line 
> 160, in call
>     r = GSIHTTP(real_addr, tcpAttr = config.tcpAttr)
> AttributeError: SOAPConfig instance has no attribute 'tcpAttr'
> this attribute simply doesn't exist with the '--insecure' flag passed on 
> startup. However without '--insecure' the attribute exists and is always 
> set to None. I think the problem is that it's thinking the venue 
> server addr protocol is httpg, and thus is looking for this 'tcpAttr' 
> attribute, in order to call GSIHTTP(real_addr, tcpAttr = confif.tcpAttr)
> [this is taking place withing SOAPpy.client.py]
> so, I'd like to know if someone can tell me where this attr.proto 
> attribute is set, as it would appear its being set incorrectly and not 
> taking the --insecure flag into account.
> Thanks,
> David.

More information about the ag-tech mailing list