Why would I get an "Empty reply from server" when trying to create a mapping? Turned logging up to DEBUG and I'm not seeing anything. All the other curl commands work fine including creating a new index.
We upgraded last week to ES 5.0.0-alpha5. This exact same mapping worked fine in ES 2.4.1.
~$ curl -XPUT localhost:9200/mediaserver_v2/_mapping -d @mediaserver_v2_mapping.json -vvv
* Hostname was NOT found in DNS cache
* Trying 127.0.0.1...
* Connected to localhost (127.0.0.1) port 9200 (#0)
> PUT /mediaserver_v2/_mapping HTTP/1.1
> User-Agent: curl/7.38.0
> Host: localhost:9200
> Accept: */*
> Content-Length: 2216
> Content-Type: application/x-www-form-urlencoded
> Expect: 100-continue
>
* Empty reply from server
* Connection #0 to host localhost left intact
curl: (52) Empty reply from server