Skip to main content

Advertisement are not published in Rendezvous

3 replies [Last post]
godi
Offline
Joined: 2009-07-02

Hello everybody,

I am having some problems with advertisements.

I have a network with an edge peer and a rendezvous peer. The peer connects to the rendezvous peer by means of the method waitForRendezvousConnection(time).

After connecting to the rendezvous it publishes some advertisements by means of publish and remotePublish with a huge life and expiration time.

According to the javadoc documentation, the rendezvous peer should store these advertisements because the publish method informs to the rendezvous after 30 seconds. However, when I search in the rendezvous cache it does not have the advertisements published by the peer, even after more than several minutes.

Does anyone know where the problem can be?

Thank you in advance.

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
godi
Offline
Joined: 2009-07-02

Hello again,

I have found the solution to the problem. The issue was that I was using customized advertisements created by me and I had registered the new type of advertisement only in the edge peer but not in the rendezvous peer.

But now I have a strange behavior, the edge peer received two answers from the rendezvous when trying to find advertisements if it is connected to the rendezvous. However, if it try to find advertisements without connecting to the rendezvous, it only receives one answer from the rendezvous.

Does anyone know where the problem can be?

Thank you in advance.

nonsense2105
Offline
Joined: 2009-05-16

Hi,

you receive two answers because when a peer is connected to rendezvous, it uses multicast + rendezvous. When it is not connected to rendezvous it uses only multicast.
Because you run them both on a single computer or on the same subnet, you receive the same answer from multicast and from rendezvous -> 2x

best regards Filip

godi
Offline
Joined: 2009-07-02

Thank you very much.

That was my assumption but I wanted to be sure that I had configured the peers correctly.

Regards.