Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Access GEANT RRDMA with perfSONAR-PS client

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Access GEANT RRDMA with perfSONAR-PS client


Chronological Thread 
  • From: Jason Zurawski <>
  • To: Takatoshi Ikeda <>
  • Cc:
  • Subject: Re: [perfsonar-user] Access GEANT RRDMA with perfSONAR-PS client
  • Date: Wed, 26 Jan 2011 08:14:52 -0500
  • Organization: Internet2

Hi Takatoshi;

The 302 Error usually indicates that the endpoint is wrong, or that the server is performing some sort of internal re-direct. I printed out the HTTP response headers from this service and see the following:

$VAR1 = bless( {
'_protocol' => 'HTTP/1.1',
'_content' => '',
'_rc' => '302',
'_headers' => bless( {
'client-date' => 'Sun, 23 Jan 2011
01:03:30 GMT',
'connection' => 'close',
'client-response-num' => 1,
'location' =>
'http://62.40.123.162:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService',
'date' => 'Wed, 26 Jan 2011 13:04:13
GMT',
'client-peer' => '62.40.123.162:8080',
'content-length' => '0',
'server' => 'Apache-Coyote/1.1'
}, 'HTTP::Headers' ),
'_msg' => 'Moved Temporarily',

The 'location field' is the the answer that we need here, that is different than the URL you are sending to below. Try to send something to 'http://62.40.123.162:8080/perfsonar-java-rrd-ma/services/MeasurementArchiveService' instead and see if that succeeds. I did an Echo and it seemed to work.

There are two things at play here:

1) The pSPS client doesn't have a lot of sophisticated error handling, so I am not surprised that it reacts this way. I will note this in our issue tracker.

2) Is the MA advertising the address you are using below to the LS? If this address is incorrect, that probably needs to adjusted. That is a question for whomever owns this MA though.

Thanks;

-jason

On 1/26/11 6:08 AM, Takatoshi Ikeda wrote:
Hi.

In the past, I could get the interface usage data of GEANT
from their RRDMA service by perfSONAR-PS's client (client.pl)
but I can not get now with following error message.

Is the any information?


# /opt/perfsonar_ps/lookup_service/bin/client.pl
http://62.40.123.162:8080/geant2-java-rrd-ma/services/MeasurementArchiveService
SetupDataRequest-IFname-Time.xml
Error sending request to service: 302 Moved Temporarily at
/opt/perfsonar_ps/lookup_service/bin/client.pl line 165


[Request message]
<?xml version="1.0" encoding="UTF-8"?>

<nmwg:message
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utilization/2
.0/"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";
type="SetupDataRequest" id="SetupDataRequest1">

<nmwg:metadata xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
id="metadata1">
<netutil:subject
xmlns:netutil="http://ggf.org/ns/nmwg/characteristic/utiliz
ation/2.0/"
id="s-in-netutil-1">
<nmwgt:interface xmlns:nmwgt="http://ggf.org/ns/nmwg/topology/2.0/";>
<nmwgt:hostName>rt1.gen.ch.geant2.net</nmwgt:hostName>
<nmwgt:ifName>so-7/2/0</nmwgt:ifName>
</nmwgt:interface>
</netutil:subject>

<nmwg:eventType>http://ggf.org/ns/nmwg/characteristic/utilization/2.0</nmwg:
eventType>
</nmwg:metadata>

<nmwg:metadata xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
id="metadata1c">
<select:subject xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/";
id="subject1c" metadataIdRef="metadata1" />
<select:parameters id="param2c"
xmlns:select="http://ggf.org/ns/nmwg/ops/sel
ect/2.0/">
<nmwg:parameter name="startTime">1293004000</nmwg:parameter>
<nmwg:parameter name="endTime">1293005238</nmwg:parameter>
<nmwg:parameter name="consolidationFunction">AVERAGE</nmwg:parameter>
<nmwg:parameter name="resolution">60</nmwg:parameter>
</select:parameters>
<nmwg:eventType>http://ggf.org/ns/nmwg/ops/select/2.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
id="data1" metadataIdRef="metadata1c"/>

</nmwg:message>



-Takatoshi Ikeda, APAN-JP and JGN2plus



Archive powered by MHonArc 2.6.16.

Top of Page