Issue to retrieve PipeAdvertisements using latest trunk code
I am encountering an issue when trying to discover remote PipeAdvertisements using the latest code in the Trunk.
The scenario is the following:
i) I use 3 peers: EDGE_CLIENT, RDV_GLOBAL, EDGE_SERVICE. Both edges connect successfully to the RDV_GLOBAL.
ii) The EDGE_SERVICE creates a child peergroup called ApplicationPeerGroup, and within the ApplicationPeerGroup, it create another child peergroup called UserPeerGroup. Within the UserPeerGroup, it publishes locally and remotely a PipeAdvertisement.
iii) The EDGE_CLIENT connects to the Net Peer Group, manages to remotely get the PeerGroup Advertisement of the ApplicationPeerGroup, then create this PeerGroup.
iv) Next the EDGE_CLIENT, remotely get the peer group advertisement for the UserPeerGroup from within the ApplicationPeerGroup and manages to create that ApplicationPeerGroup.
v) Then, the EDGE_CLIENT tries to retrieve the PipeAdvertisement remotely from EDGE_SERVICE from within the UserPeerGroup, but unsuccessfully. I am using the following call:
MyDiscoveryService.getRemoteAdvertisements(null, DiscoveryService.ADV, "Name", "*", 50); // I am giving it enough time to do the work before I check in my local cache
REM: The EDGE_CLIENT is started after the EDGE_SERVICE, so it is not up when the pipe advertisement is published remotely from the EDGE_SERVICE.
Why do I manage to get PeerGroup Advertisements successfully from EDGE_SERVICE and not Pipe Advertisements?
Anyone has encountered this issue?