kelvinlai
Contributor
Contributor

Multiple entries returned from /hqu/hqapi1/agent/list.hqu

When I try to send HQAPI request to the server using the following URL:

http://serverhq:7080/hqu/hqapi1/agent/list.hqu

The server returns multiple entries of <Agent/> elements that points to the same server:

<AgentsResponse>
    <Status>Success</Status>
    <Agent id="10001" address="10.66.62.103" port="2144" version="5.0.0" unidirectional="false"/>
    <Agent id="10002" address="server103" port="2144" version="5.0.0" unidirectional="false"/>
</AgentsResponse>

Problem is, only one of them gives me the correct resources:

http://serverhq:7080/hqu/hqapi1/resource/find.hqu?agentId=10002&children=true

Any ideas why there are multiple entries? Thanks.

--Kelvin

0 Kudos
0 Replies