Skip to Content.
Sympa Menu

perfsonar-user - Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?

Subject: perfSONAR User Q&A and Other Discussion

List archive

Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?


Chronological Thread 
  • From: Jason Zurawski <>
  • To: "" <>
  • Subject: Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?
  • Date: Wed, 22 Apr 2015 07:23:23 -0400

All;

FAQ updated - the correction of the scripts (if needed) will need to wait
until Andy returns from PTO most likely.

-jason

> On Apr 21, 2015, at 1:53 PM, Alan Whinery
> <>
> wrote:
>
> Confirmed (just now almost 8 AM in Hawaii).
>
> Thanks, Robert.
> Thanks Antoine.
>
> For the documenters, this point probably makes a good FAQ point or
> specific notation in the instructions.
>
> On 4/20/2015 8:38 PM, Robert Frank wrote:
>> Hi,
>>
>> the problem might just be a missing / at the end of the url:
>>
>> curl http://localhost/esmond/perfsonar/archive => returns a 301
>>
>> curl http://localhost/esmond/perfsonar/archive/ => returns the data
>>
>> Cheers,
>> Robert
>>
>> On 20/04/15 19:55, Antoine Delvaux wrote:
>>> Hi Alan,
>>>
>>> I’m no esmond expert, but it might just be a curl failure. Have you
>>> tried adding the -L option to your query?
>>>
>>> Running the examples on a regular 3.4.2 perfSONAR node I don’t see
>>> this error. Do you have some customisation in place?
>>>
>>> Antoine.
>>>
>>>
>>>> Le 18 avr. 2015 à 01:57, Alan Whinery
>>>> <>
>>>> a écrit :
>>>>
>>>> I'm attempting to publish data to esmond, using examples from both the
>>>> perl client and rest client example pages --
>>>> http://software.es.net/esmond/perfsonar_client_rest.html
>>>> http://software.es.net/esmond/perfsonar_client_perl.html
>>>>
>>>> I'm assuming that if I use the credentials found in
>>>> /opt/perfsonar/regular_testing/etc/regular_testing.conf, I should be
>>>> able to perform the "publishing data" examples.
>>>>
>>>> On the curl based REST example, with the changed api-key and changing
>>>> the query URL to http://localhost/esmond/perfsonar/archive/ the
>>>> response is:
>>>>
>>>>
>>>>> HTTP/1.1 301 MOVED PERMANENTLY
>>>>> Date: Sat, 18 Apr 2015 01:05:19 GMT
>>>>> Server: Apache/2.2.15 (CentOS)
>>>>> Location: http://localhost/esmond/perfsonar/archive/
>>>>> Content-Length: 0
>>>>> Connection: close
>>>>> Content-Type: text/html; charset=utf-8
>>>>
>>>> So I moved to the Perl client and got:
>>>>> 301 MOVED PERMANENTLY at ./publish-example.pl line 34
>>>>
>>>> I tried supplying the wrong password to see if I got a "AUTH FAIL" or
>>>> something, but that just gets "301 MOVED PERMANENTLY" too.
>>>>
>>>> What am I missing?
>>>>
>>>> -Alan



Archive powered by MHonArc 2.6.16.

Top of Page