Skip to main content

Can't connect a rendezvous peer to an edge peer

7 replies [Last post]
gabrielms7
Offline
Joined: 2007-08-09

Hello JXTA!

I'm running the
_130_Setting_Seeds_And_Waiting_For_A_Rendezvous_Connection_Example.java example from the Examples.A_JXTA_Connection_And_Local_Configuration package, from the book by Jérôme Verstrynge: "Practical JXTA: Cracking the P2P puzzle" but I have a problem; when I run the example the next message appears in the output window:

Failed loading seeding list from : http://rdv.jxtahosts.net/cgi-bin/rendezvous.cgi?3

and after time (1 min), the following message appears:

Rendezvous connection not established !!!

Can be a problem with the configuration of ports??? What do you think???

Thanks friends!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
adamman71
Offline
Joined: 2007-01-31

This warning is created by the refreshActiveSeeds() method of the URISeedingManager, because an IOException has been raised when the loadSeeds(...) method has been called.

I don't think it is related to ports. It looks like http://rdv.jxtahosts.net/cgi-bin/rendezvous.cgi?3 cannot be accessed from your network. Can you browse it and see an XML-like document in your browser?

It is omething starting like this:



urn:jxta:uuid-59616261646162614A787461503250337B59AE24F1DC4C66AA9881046A14D83003



urn:jxta:uuid-59616261646162614A787461503250337B59AE24F1DC4C66AA9881046A14D83003

tcp://192.18.37.36:9701
http://192.18.37.36:9700



...

Cheers,

J.

gabrielms7
Offline
Joined: 2007-08-09

Yes adamman71! I can see it!
What do you think then???

bondolo
Offline
Joined: 2003-06-11

Is your browser using a proxy?

gabrielms7
Offline
Joined: 2007-08-09

yes... listening on 3128 port

adamman71
Offline
Joined: 2007-01-31

Bingo!

Then you need to start your application by passing proxy configuration like this:

java -Dhttp.proxyHost=theproxy.atmycompany.com Dhttp.proxyPort=8080 ...

or you can try to set some system properties in your code:

System.getProperties().put(proxySet,true);
System.getProperties().put(proxyPort,8080);
System.getProperties().put(proxyHost,theproxy.atmycompany.com);

This issue is discussed in the programmers guide (and in the Practical JXTA book too).

Cheers,

J.

gabrielms7
Offline
Joined: 2007-08-09

Thanks friend!

adamman71
Offline
Joined: 2007-01-31

Anytime!