[AG-TECH] Bridge error

Thomas D. Uram turam at mcs.anl.gov
Fri May 23 23:07:56 CDT 2008


The value you're specifying for the registryUrl argument is incorrect.

If you omit this argument, the bridge will register with the default 
bridge registry and be available to everyone.  I'd recommend that you 
take this approach first.

If this is not what you want, you'll need to run your own registry, and 
create a bootstrap file reachable at some URL, using that URL for the 
registryUrl argument.  The bootstrap file should include simply the 
hostname:port of your registry.  As an example, you can look at the 
default bootstrap file at

http://www.accessgrid.org/registry/peers.txt

Tom



On 5/23/08 10:12 PM, Jonathan Narvaez wrote:
> I need your help
>
> I get to start this error.
>
> jnarvaez at jnarvaez-desktop:~$ sudo Bridge3.py --name=UniminutoBridge 
> --location=Colombia --listenPort=9000 --qbexec=/usr/bin/QuickBridge 
> --portRange=41000 50000 
> --registryUrl=https://prueba.uniminuto.edu:8000/Venues/default
> [sudo] password for jnarvaez:
> Traceback (most recent call last):
> File "/usr/bin/Bridge3.py", line 187, in <module>
>   main()
> File "/usr/bin/Bridge3.py", line 182, in main
>   bridgeServer = QuickBridgeServer(name=options.name 
> <http://options.name/>, location=options.location, 
> listenPort=options.listenPort, qbexec=options.qbexec, 
> portRange=options.portRange, registryUrl=options.registryUrl)
> File "/usr/bin/Bridge3.py", line 47, in __init__
>   self._RegisterWithRegistry()
> File "/usr/bin/Bridge3.py", line 84, in _RegisterWithRegistry
>   self.validSecs = 
> self.registryClient.RegisterBridge(self.bridgeDescription)
> File 
> "/usr/lib/python2.5/site-packages/AccessGrid3/AccessGrid/Registry/RegistryClient.py", 
> line 74, in RegisterBridge
>   self._connectToRegistry()
> File 
> "/usr/lib/python2.5/site-packages/AccessGrid3/AccessGrid/Registry/RegistryClient.py", 
> line 45, in _connectToRegistry
>   self.registryPeers = self._readPeerList(url=self.url)
> File 
> "/usr/lib/python2.5/site-packages/AccessGrid3/AccessGrid/Registry/RegistryClient.py", 
> line 162, in _readPeerList
>   f = urllib.urlopen(url)
> File "/usr/lib/python2.5/urllib.py", line 82, in urlopen
>   return opener.open(url)
> File "/usr/lib/python2.5/urllib.py", line 190, in open
>   return getattr(self, name)(url)
> File "/var/lib/python-support/python2.5/M2Crypto/m2urllib.py", line 
> 58, in open_https
>   h.endheaders()
> File "/usr/lib/python2.5/httplib.py", line 856, in endheaders
>   self._send_output()
> File "/usr/lib/python2.5/httplib.py", line 728, in _send_output
>   self.send(msg)
> File "/usr/lib/python2.5/httplib.py", line 695, in send
>   self.connect()
> File "/var/lib/python-support/python2.5/M2Crypto/httpslib.py", line 
> 47, in connect
>   self.sock.connect((self.host, self.port))
> File "/var/lib/python-support/python2.5/M2Crypto/SSL/Connection.py", 
> line 152, in connect
>   self.socket.connect(addr)
> File "<string>", line 1, in connect
> IOError: [Errno socket error] (111, 'Connection refused')
>
>
> Thanks
>
>
>
>
> -- 
> Jonathan Narvaez
> - En la Caja decía 'instalar Windows 95 o Superior' Asi que instale Linux"
> - Si reproduces un CD de Microsoft al revés puedes escuchar un mensaje 
> satánico...
> - Eso no es lo peor... Al derecho te instala windows... 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/ag-tech/attachments/20080523/09261e50/attachment.htm>


More information about the ag-tech mailing list