Repository: sentinl/sentinl

Issue #677: 6.6.0 release exception: TypeError: reply is not a function 
Created: 2019-02-07T05:08:26Z
System Details
Versions



Type
Version




Kibana
6.6.0


Elasticsearch
6.6.0


Server OS
Official ES Kibana Container CentOS Linux release 7.6.1810 (Core)


Browser
Google Chrome 72.0.3626.81



Original Install Method

 Release pkg link
 Gulp
 Source
Other:

Bug Details
Bug Description
Steps to Reproduce

Install the plugin
Start Kibana
Click on SentiNL link in left sidebar.

Expected Behavior
Sample of data you have in Elasticsearch

Full Watcher JSON
No watches installed.

Screenshots (if relevant)

Errors in Browser Console (if relevant)

Kibana logs and/or server output (attached if relevant)
Feb 07 04:43:24 ip-10-0-184-8 kibana.service[18386]: Debug: internal, implementation, error
Feb 07 04:43:24 ip-10-0-184-8 kibana.service[18386]:     TypeError: reply is not a function
Feb 07 04:43:24 ip-10-0-184-8 kibana.service[18386]:     at handler (/usr/share/kibana/plugins/sentinl/server/routes/routes.js:25:14)
Feb 07 04:43:24 ip-10-0-184-8 kibana.service[18386]:     at module.exports.internals.Manager.execute (/usr/share/kibana/node_modules/hapi/lib/toolkit.js:35:106)
Feb 07 04:43:24 ip-10-0-184-8 kibana.service[18386]:     at Object.internals.handler (/usr/share/kibana/node_modules/hapi/lib/handler.js:50:48)
Feb 07 04:43:24 ip-10-0-184-8 kibana.service[18386]:     at exports.execute (/usr/share/kibana/node_modules/hapi/lib/handler.js:35:36)
Feb 07 04:43:24 ip-10-0-184-8 kibana.service[18386]:     at Request._lifecycle (/usr/share/kibana/node_modules/hapi/lib/request.js:263:62)
Feb 07 04:43:24 ip-10-0-184-8 kibana.service[18386]:     at process._tickCallback (internal/process/next_tick.js:68:7)
Feb 07 04:43:24 ip-10-0-184-8 kibana.service[18386]: {"type":"error","@timestamp":"2019-02-07T04:43:24Z","tags":[],"pid":1,"level":"error","error":{"message":"reply is not a function","name":"TypeError","stack":"TypeError: reply is not a function\n    at handler (/usr/share/kibana/plugins/sentinl/server/routes/routes.js:25:14)\n    at module.exports.internals.Manager.execute (/usr/share/kibana/node_modules/hapi/lib/toolkit.js:35:106)\n    at Object.internals.handler (/usr/share/kibana/node_modules/hapi/lib/handler.js:50:48)\n    at exports.execute (/usr/share/kibana/node_modules/hapi/lib/handler.js:35:36)\n    at Request._lifecycle (/usr/share/kibana/node_modules/hapi/lib/request.js:263:62)\n    at process._tickCallback (internal/process/next_tick.js:68:7)"},"url":{"protocol":null,"slashes":null,"auth":null,"host":null,"port":null,"hostname":null,"hash":null,"search":null,"query":{},"pathname":"/api/sentinl/time","path":"/api/sentinl/time","href":"/api/sentinl/time"},"message":"reply is not a function"}

Any additional information

Duplicate issue #676: Sentinl rolling upgrade Kibana 6.5.3 -> 6.6.0 No layout after upgrade
Created: 2019-02-06T16:20:07Z
System Details
Versions



Type
Version




Kibana
6.6.0


Elasticsearc
6.6.0


Server OS
RHEL7


Browser
Chrome Version 71.0.3578.98



Original Install Method

 Release pkg link
 Gulp
[ X] Source
Other:

Bug Details
Bug Description
After rolling upgrade to newest stack, I am not able to get into sentinl layout where I could manage all watchers saved.
Errors in Browser Console
This an error which I got form chrome console log:
Error: vendors.bundle.dll.js:434 GET http://lvrprdels008:5601/api/sentinl/time 500 (Internal Server Error)
{"statusCode":500,"error":"Internal Server Error","message":"An internal server error occurred"}
Screenshots


From Kibana logs:
{
"type": "error",
"@timestamp": "2019-02-07T09:31:22Z",
"tags": [],
"pid": 14965,
"level": "error",
"error": {
"message": "reply is not a function",
"name": "TypeError",
"stack": "TypeError: reply is not a function\n    at handler (/usr/share/kibana/plugins/sentinl/server/routes/routes.js:25:14)\n    at module.exports.internals.Manager.execute (/usr/share/kibana/node_modules/hapi/lib/toolkit.js:35:106)\n    at Object.internals.handler (/usr/share/kibana/node_modules/hapi/lib/handler.js:50:48)\n    at exports.execute (/usr/share/kibana/node_modules/hapi/lib/handler.js:35:36)\n    at Request._lifecycle (/usr/share/kibana/node_modules/hapi/lib/request.js:263:62)\n    at process._tickCallback (internal/process/next_tick.js:68:7)"
},
"url": {
"protocol": null,
"slashes": null,
"auth": null,
"host": null,
"port": null,
"hostname": null,
"hash": null,
"search": null,
"query": {},
"pathname": "/api/sentinl/time",
"path": "/api/sentinl/time",
"href": "/api/sentinl/time"
},
"message": "reply is not a function"
}
Steps to Reproduce

Before rolling upgrade all plugins had been removed
Rolling upgrade of Kibana
Instalation plugins via /usr/share/kibana/bin-plugin install file:///<file_location>

Expected Behavior
Layout of sentinel will show up in Kibana
Screenshots

Is it a bug, or is this a installation issue?
Will appreciate your support.
Thanks,
Jan

Closing comment (2019-02-11T08:18:35Z): Duplicate of #677