Can't download shakespeare.json: too many redirects


(Adam Dingle) #1

The page Getting Started with Kibana (https://www.elastic.co/guide/en/kibana/current/getting-started.html) points to a sample data file shakespeare.json. When I attempt to download it, my browser complains:

Too many redirects

Is there any fix or workaround? thanks!


(Mark Walkom) #2

Worked for me the first time I tried it!


(Adam Dingle) #3

Odd - when I try the download in Firefox, Chromium or wget it fails with a redirect loop - see the output below. I'm on Ubuntu 15.10. I do see IPv6 addresses in the wget output - perhaps this could have to do with that?

$ wget http://www.elastic.co/guide/en/kibana/3.0/snippets/shakespeare.json
--2016-02-13 18:36:00-- http://www.elastic.co/guide/en/kibana/3.0/snippets/shakespeare.json
Resolving www.elastic.co (www.elastic.co)... 2406:da00:ff00::3210:ef4e, 2406:da00:ff00::3213:d205, 2406:da00:ff00::1717:57a0, ...
Connecting to www.elastic.co (www.elastic.co)|2406:da00:ff00::3210:ef4e|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: https://www.elastic.co/guide/en/kibana/3.0/snippets/shakespeare.json [following]
--2016-02-13 18:36:00-- https://www.elastic.co/guide/en/kibana/3.0/snippets/shakespeare.json
Connecting to www.elastic.co (www.elastic.co)|2406:da00:ff00::3210:ef4e|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://www.elastic.co/guide/en/kibana/3.0/snippets/shakespeare.json [following]
--2016-02-13 18:36:00-- http://www.elastic.co/guide/en/kibana/3.0/snippets/shakespeare.json
Connecting to www.elastic.co (www.elastic.co)|2406:da00:ff00::3210:ef4e|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
...


(Adam Dingle) #4

I found the shakespeare.json file in the Kibana GitHub repository:

So that's one way to get it as a workaround.


(Mark Walkom) #5

$ wget http://www.elastic.co/guide/en/kibana/3.0/snippets/shakespeare.json
--2016-02-15 07:46:29-- http://www.elastic.co/guide/en/kibana/3.0/snippets/shakespeare.json
Resolving www.elastic.co... 54.68.69.182, 54.69.84.185
Connecting to www.elastic.co|54.68.69.182|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25216068 (24M) [application/json]

Maybe you have a proxy in place?


(Adam Dingle) #6

There was no proxy - I was trying this at home with a Comcast internet connection.

I just tried the download where I am now (at work) and it worked fine. I strongly suspect this is related to IPv6 since your wget output shows IPv4 addresses, as does mine when I try this here at work. I happen to know that my home ISP (Comcast) allows IPv6 resolution whereas my work environment does not.


(system) #7