Hello,
I am currently using ELK version 7.17.14, yesterday upgraded Free ROR for KBN & ES from 1.54 to 1.64.2 and today I’ve found some error message when checking running kibana services status:
kibana[XXX]: SyntaxError: Unexpected token < in JSON at position 0
kibana[XXX]: at JSON.parse (<anonymous>)
kibana[XXX]: at /kibana_XXX/plugins/readonlyrestkbn/proxy/preElasticsearchProxy/requestInterceptor.js:1:1854
kibana[XXX]: at /kibana_XXX/plugins/readonlyrestkbn/node_modules/express-http-proxy/app/steps/decorateUserRes.js:69:14
kibana[XXX]: at processTicksAndRejections (node:internal/process/task_queues:95:5)
or
kibana[XXX]: [timestamp] [error][plugins][ReadonlyREST][lazyUtils] Caught an error in executeWithInterval FetchError: invalid json response body at http://localhost:XXX/.readonlyrest_kbn_sessions_XXX/_search reason: Unexpected token < in JSON at position 0
kibana[XXX]: at /kibana_XXX/plugins/readonlyrestkbn/node_modules/node-fetch/lib/index.js:273:32
kibana[XXX]: at processTicksAndRejections (node:internal/process/task_queues:95:5) {
kibana[XXX]: type: 'invalid-json'
kibana[XXX]: }
Looking at these files I cannot figure out what is wrong.
I also cannot replicate this event myself but multiple kibana instances have it once at similar timestamp.
Could there be any problem with Kibana or maybe specific user actions or the plugin module files?
Regards,
Michał