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: Alan Whinery <>
- To: Robert Frank <>,Antoine Delvaux <>
- Cc: "" <>
- Subject: Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?
- Date: Mon, 20 Apr 2015 20:44:43 -1000
I prefer the one with the data.
Thanks!
On April 20, 2015 8:38:20 PM HST, 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
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.
- [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?, Alan Whinery, 04/18/2015
- Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?, Antoine Delvaux, 04/20/2015
- Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?, Robert Frank, 04/21/2015
- Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?, Alan Whinery, 04/21/2015
- Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?, Alan Whinery, 04/21/2015
- Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?, Jason Zurawski, 04/22/2015
- Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?, Alan Whinery, 04/22/2015
- Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?, Jason Zurawski, 04/22/2015
- Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?, Robert Frank, 04/21/2015
- Re: [perfsonar-user] Why do I get "301 Moved Permanently" when trying to publish data?, Antoine Delvaux, 04/20/2015
Archive powered by MHonArc 2.6.16.