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: Antoine Delvaux <>
  • To: Alan Whinery <>
  • Cc: "" <>
  • Subject: Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?
  • Date: Mon, 20 Apr 2015 18:55:34 +0000
  • Accept-language: fr-BE, en-US
  • Authentication-results: hawaii.edu; dkim=none (message not signed) header.d=none;

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