"PollError [illegal_argument_exception]

Hi.

I have a Kibana server, that this configuration:

server.port: 5601

server.host: "log-kibana-01.alpha.ci.ucr.ac.cr"

server.name: "log-kibana-01.alpha.ci.ucr.ac.cr"

elasticsearch.hosts: ["http://log-elasticsearch-client-01.alpha.ci.ucr.ac.cr:9200"]

But went i try to web access show me this message.

Captura%20de%20pantalla%20de%202019-03-26%2016-25-57

The message log's show next messages. :

Mar 26 16:19:46 log-kibana-01 kibana: {"type":"log","@timestamp":"2019-03-26T22:19:46Z","tags":["warning","task_manager"],"pid":15256,"message":"PollError [illegal_argument_exception] request [/_template/.kibana_task_manager] contains unrecognized parameter: [include_type_name]"}
Mar 26 16:19:49 log-kibana-01 kibana: {"type":"log","@timestamp":"2019-03-26T22:19:49Z","tags":["warning","task_manager"],"pid":15256,"message":"PollError [illegal_argument_exception] request [/_template/.kibana_task_manager] contains unrecognized parameter: [include_type_name]"}
Mar 26 16:19:53 log-kibana-01 kibana: {"type":"log","@timestamp":"2019-03-26T22:19:53Z","tags":["warning","task_manager"],"pid":15256,"message":"PollError [illegal_argument_exception] request [/_template/.kibana_task_manager] contains unrecognized parameter: [include_type_name]"}

Elastic work fine:

[root@log-kibana-01 kibana]# curl -X GET 'http://log-elasticsearch-client-01.alpha.ci.ucr.ac.cr:9200'
{
"name" : "log-elasticsearch-client-01",
"cluster_name" : "log-elasticsearch",
"cluster_uuid" : "na",
"version" : {
"number" : "6.6.1",
"build_flavor" : "default",
"build_type" : "rpm",
"build_hash" : "1fd8f69",
"build_date" : "2019-02-13T17:10:04.160291Z",
"build_snapshot" : false,
"lucene_version" : "7.6.0",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}

Thanks for help me

Hi- The settings you have shown, should work. Is there maybe some other parameter in the kibana.yml file causing this? I see it complaining about an unrecognized parameter, any other errors before this one in your logs?

I have tried to upgrade today and same error, kibana is not starting

"message":"PollError [illegal_argument_exception] request [/_template/.kibana_task_manager] contains unrecognized parameter: [include_type_name]"}

Even though all three packages were updated successfully, I had to restart the server as elasticsearch was still showing

curl -XGET localhost:9200/
{
  "name" : "62TeV0K",
  "cluster_name" : "spelk",
  "cluster_uuid" : "1VBC4WxqSEqhHJDQj1NYlw",
  "version" : {
    "number" : "6.6.0",
    "build_flavor" : "default",
    "build_type" : "deb",
    "build_hash" : "a9861f4",
    "build_date" : "2019-01-24T11:27:09.439740Z",
    "build_snapshot" : false,
    "lucene_version" : "7.6.0",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

Now its showing correct version

curl -XGET localhost:9200/
{
  "name" : "62TeV0K",
  "cluster_name" : "spelk",
  "cluster_uuid" : "1VBC4WxqSEqhHJDQj1NYlw",
  "version" : {
    "number" : "6.7.0",
    "build_flavor" : "default",
    "build_type" : "deb",
    "build_hash" : "8453f77",
    "build_date" : "2019-03-21T15:32:29.844721Z",
    "build_snapshot" : false,
    "lucene_version" : "7.7.0",
    "minimum_wire_compatibility_version" : "5.6.0",
    "minimum_index_compatibility_version" : "5.0.0"
  },
  "tagline" : "You Know, for Search"
}

This didn't resolve it either, I had a .kibana_2 index which had read_only_allow_delete setting to true

FATAL [cluster_block_exception] blocked by: [FORBIDDEN/12/index read-only / allow delete (api)]; :: {"path":"/.kibana_2/_mapping/doc","query":{},"body":"{"dynamic":"strict","properties":{"apm-telemetry":{"properties":{"has_any_services":{"type":"boolean"},"services_per_agent":{"properties":{"python":{"type":"long","null_value":0},"java":{"type":"long","null_value":0},"nodejs":{"type":"long","null_value":0},"js-base":{"type":"long","null_value":0},"ruby":{"type":"long","null_value":0},"go":{"type":"long","null_value":0}}}}},"canvas-workpad":{"dynamic":false,"properties":{"name":{"type":"text","fields":{"keyword":{"type":"keyword"}}},"id":{"type":"text","index":false},"@timestamp":{"type":"date"},"@created":{"type":"date"}}},"config":{"dynamic":"true","properties":{"buildNum":{"type":"keyword"}}},"dashboard":{"properties":{"description":{"type":"text"},"hits":{"type":"integer"},

Kibana kept restarting and throwing the same error so I changed it:

curl -XPUT localhost:9200/.kibana_2/_settings -d '{"index":{"blocks":{"read_only_allow_delete": "false"} } }' -H 'Content-Type: application/json'

curl -XGET localhost:9200/.kibana_2/_settings?pretty
{
".kibana_2" : {
"settings" : {
"index" : {
"number_of_shards" : "1",
"auto_expand_replicas" : "0-1",
"blocks" : {
"read_only_allow_delete" : "false"
},
"provided_name" : ".kibana_2",
"creation_date" : "1543874043680",
"number_of_replicas" : "0",
"uuid" : "SShhSz42QQuQupVK5Z3dLQ",
"version" : {
"created" : "6050199",
"upgraded" : "6070099"
}
}
}
}
}

Hi,

I have the same issue.
In my case I installed elastic 6.7 on windows 10 using msi installer.
The elastics version still remains 6.6 after machine restart - so ...this did not solve anything.

Kibana 6.6 works...6.7 does not with the error above.

I deleted .kibana index but 6.7 does not create a new index. The 6.6 version works fine.

Hope someone has a solution.

Titus

Restart of the server wasn't needed on my other server but I still had to restart the elasticsearch service. I guess server restart will do the same
Hope you resolve your problem titus

No luck with restarting the server or the service :slightly_smiling_face: (several times). I am still seeing elastic 6.6 and Kibana 6.7 does not work.
What is interesting is that the elastic memory size changed :grin:...although the version is still the old one.

I guess someone forgot some hard-coded version somewhere in the code :star_struck:

And I forgot about another funny thing:)
Since kibana 6.7 does not work...I am using kibana 6.6.

Aparently in 6.7 "string" type does not exist anymore:))...only "text" type so ...we are unable to make any decent visualizations and so on since..."text" cannot be interpreted in 6.6

Installed 6.6.2 and it works...
Avoid 6.7

Thanks all for the info - let me try to reproduce. First let me get some information on the env running- so this is happening on 6.6.0-1 or 6.7 on Windows using the msi installer? Sounds like 6.6.2 is not seeing the issue? Are you using the oss or default distro? Are you behind any proxy? I tried 6.6.1 tar file on mac os yesterday and it worked fine. Any other info to help me reproduce would be great, thanks !

Hi.
I review again the logs and see next log.

{"type":"log","@timestamp":"2019-03-27T16:07:28Z","tags":["status","plugin:xpack_main@6.7.0","info"],"pid":13230,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasticsearch","prevState":"uninitialized","prevMsg":"uninitialized"}

{"type":"log","@timestamp":"2019-03-27T16:07:28Z","tags":["plugins","debug"],"pid":13230,"plugin":{"name":"x-pack","version":"6.7.0","private":true,"author":"Elastic","license":"Elastic-License","kibana":{"build":{"intermediateBuildDirectory":"build/plugin/kibana/x-pack"},"version":"6.7.0"},"resolutions":{"**/@types/node":"10.12.27","@types/react":"16.3.14"},"dependencies":{"@elastic/datemath":"5.0.2","@elastic/eui":"6.10.5","@elastic/node-crypto":"0.1.2","@elastic/node-phantom-simple":"2.2.4","@elastic/numeral":"2.3.2","@kbn/babel-preset":"1.0.0","@kbn/es-query":"1.0.0","@kbn/i18n":"1.0.0","@kbn/interpreter":"1.0.0","@kbn/ui-framework":"1.0.0","@samverschueren/stream-to-observable":"^0.3.0","@scant/router":"^0.1.0","@slack/client":"^4.8.0","@turf/boolean-contains":"6.0.1","@types/json-stable-stringify":"^1.0.32","angular-resource":"1.4.9","angular-sanitize":"1.6.5","angular-ui-ace":"0.2.3","apollo-cache-inmemory":"1.2.7","apollo-client":"^2.3.8","apollo-link":"^1.2.3","apollo-link-http":"^1.5.4","apollo-link-schema":"^1.1.0","apollo-link-state":"^0.4.1","apollo-server-errors":"^2.0.2","apollo-server-hapi":"^1.3.6","axios":"^0.18.0","babel-core":"^6.26.3","babel-polyfill":"6.20.0","babel-preset-es2015":"^6.24.1","babel-register":"^6.26.0","babel-runtime":"^6.26.0","base64-js":"^1.2.1","bluebird":"3.5.3","boom":"^7.2.0","brace":"0.11.1","chroma-js":"^1.3.6","classnames":"2.2.5","concat-stream":"1.5.1","constate":"^0.9.0","content-disposition":"0.5.3","copy-to-clipboard":"^3.0.8","cronstrue":"^1.51.0","d3":"3.5.6","d3-scale":"1.0.6","dataloader":"^1.4.0","dedent":"^0.7.0","dragselect":"1.8.1","elasticsearch":"^15.4.1","extract-zip":"1.5.0","file-saver":"^1.3.8","font-awesome":"4.4.0","formsy-react":"^1.1.5","get-port":"2.1.0","getos":"^3.1.0","glob":"6.0.4","graphql":"^0.13.2","graphql-fields":"^1.0.2","graphql-tag":"^2.9.2","graphql-tools":"^3.0.2","handlebars":"^4.0.13","hapi-auth-cookie":"^9.0.0","history":"4.7.2","history-extra":"^4.0.2","humps":"2.0.1","icalendar":"0.7.1","idx":"^2.5.2","inline-style":"^2.0.0","intl":"^1.2.5","io-ts":"^1.4.2","joi":"^13.5.2","jquery":"^3.3.1","json-stable-stringify":"^1.0.1","jsonwebtoken":"^8.3.0","jstimezonedetect":"1.0.5","lodash":"npm:@elastic/lodash@3.10.1-kibana1","lodash.keyby":"^4.6.0","lodash.lowercase":"^4.3.0","lodash.mean":"^4.1.0","lodash.omitby":"^4.6.0","lodash.orderby":"4.6.0","lodash.pickby":"^4.6.0","lodash.topath":"^4.5.2","lodash.uniqby":"^4.7.0","lz-string":"^1.4.4","mapbox-gl":"0.52.0","markdown-it":"^8.4.1","mime":"^2.2.2","mkdirp":"0.5.1","moment":"^2.20.1","moment-duration-format":"^1.3.0","moment-timezone":"^0.5.14","ngreact":"^0.5.1","node-fetch":"^2.1.2","nodemailer":"^4.6.4","object-path-immutable":"^0.5.3","oppsy":"^2.0.0","papaparse":"^4.6.0","pdfmake":"0.1.33","pivotal-ui":"13.0.1","pluralize":"3.1.0","pngjs":"3.3.1","polished":"^1.9.2","prop-types":"^15.6.0","puid":"1.0.5","puppeteer-core":"^1.13.0","raw-loader":"0.5.1","react":"^16.6.0","react-apollo":"^2.1.4","react-beautiful-dnd":"^8.0.7","react-clipboard.js":"^1.1.2","react-datetime":"^2.14.0","react-dom":"^16.6.0","react-dropzone":"^4.2.9","react-fast-compare":"^2.0.4","react-markdown-renderer":"^1.4.0","react-portal":"^3.2.0","react-redux":"^5.0.7","react-redux-request":"^1.5.6","react-router-breadcrumbs-hoc":"1.1.2","react-router-dom":"^4.3.1","react-select":"^1.2.1","react-shortcuts":"^2.0.0","react-sticky":"^6.0.3","react-syntax-highlighter":"^5.7.0","react-vis":"^1.8.1","recompose":"^0.26.0","reduce-reducers":"^0.4.3","redux":"4.0.0","redux-actions":"2.2.1","redux-observable":"^1.0.0","redux-thunk":"2.3.0","redux-thunks":"^1.0.0","request":"^2.88.0","reselect":"3.0.1","resize-observer-polyfill":"^1.5.0","rimraf":"^2.6.2","rison-node":"0.3.1","rxjs":"^6.2.1","semver":"5.1.0","squel":"^5.12.2","style-it":"2.1.2","styled-components":"3.3.3","tar-fs":"1.13.0","tinycolor2":"1.3.0","tinymath":"1.1.1","topojson-client":"3.0.0","tslib":"^1.9.3","turf":"3.0.14","typescript-fsa":"^2.5.0","typescript-fsa-reducers":"^0.4.5","ui-select":"0.19.4","unbzip2-stream":"1.0.9","unstated":"^2.1.1","uuid":"3.0.1","venn.js":"0.2.9","xregexp":"3.2.0"},"engines":{"yarn":"^1.10.1"},"build":{"git":{"count":"20221","sha":"e09a026","date":"Wed, 20 Mar 2019 15:22:12 -0700"},"date":"Thu Mar 21 2019 15:48:17 GMT+0000 (Coordinated Universal Time)"}},"message":"Initializing plugin graph@6.7.0"}
{"type":"log","@timestamp":"2019-03-27T16:07:28Z","tags":["status","plugin:graph@6.7.0","info"],"pid":13230,"state":"yellow","message":"Status changed from uninitialized to yellow - Waiting for Elasticsearch","prevState":"uninitialized","prevMsg":"uninitialized"}

So all plataform have to "6.7.0" elastic version, yesterday made a update on all elastic servers.

Regards.

os: Win 10
had: Elasticsearch 6.6.0 - used msi to upgrade to 6.7 (used msi to install 6.6 before)

With Kibana the same: I had 6.6.0 and downloaded 6.7 but no luck starting it because of[illegal_argument_exception] request (like above).

I checked the Elastic installed version and instead of 6.7 it was 6.6.
What i noticed when installing 6.6.2 was that the folders for 6.7 were not created(it overwritten the data in 6.6 i guess)

In kibana yaml i have only the elastichost address and the ip for the outside visibility. Nothing else special.

Kibana 6.6 was able to start over elastic 6.7 but i could not create filter in visualizations for any text data. Only numerical data was available for aggregating.

Restated the machine several times - the elastic version did not change from 6.6. Reinstalled 6.7 using msi but no luck so after that i got back to 6.6.2 and everything works fine.

Maybe is good to mention that at a certain point in time I had 7.0 beta version installed.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.