Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Server Error\n at HapiResponseAdapter.toInternalError - seen in the Kibana logs. #102231

Open
rashmivkulkarni opened this issue Jun 15, 2021 · 5 comments
Labels
bug Fixes for quality problems that affect the customer experience estimate:small Small Estimated Level of Effort Feature:Actions/Framework Issues related to the Actions Framework Feature:Actions Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)

Comments

@rashmivkulkarni
Copy link
Contributor

Kibana- 8.0 snapshot build

While running our end to end integration tests, while I grep for errors in the logs, I do catch this exception

{"type":"error","@timestamp":"2021-06-14T23:00:39+00:00","tags":[],"pid":11651,"level":"error","error":{"message":"Internal Server Error","name":"Error","stack":"Error: Internal Server Error\n at HapiResponseAdapter.toInternalError (/usr/share/kibana/src/core/server/http/router/response_adapter.js:61:19)\n at Router.handle (/usr/share/kibana/src/core/server/http/router/router.js:177:34)\n at handler (/usr/share/kibana/src/core/server/http/router/router.js:124:50)\n at exports.Manager.execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/toolkit.js:60:28)\n at Object.internals.handler (/usr/share/kibana/node_modules/@hapi/hapi/lib/handler.js:46:20)\n at exports.execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/handler.js:31:20)\n at Request._lifecycle (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:370:32)\n at Request._execute (/usr/share/kibana/node_modules/@hapi/hapi/lib/request.js:279:9)"},"url":"https://localhost:5601/api/actions/connector/453966b4-7ada-4f3d-a3d3-bad40bba1781/_execute","message":"Internal Server Error"}

This exception should be caught and handled appropriately in the code.

cc @LeeDr

part of : https://github.com/elastic/integration-test/issues/474

@rashmivkulkarni rashmivkulkarni added bug Fixes for quality problems that affect the customer experience Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels Jun 15, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-core (Team:Core)

@pmuellr
Copy link
Member

pmuellr commented Jun 15, 2021

I assume this is a problem with the actions plugin - though it's not quite clear - it could be a core problem in the http handling - my guess is it's the actions plugin though.

@rashmivkulkarni do you happen to know what it might have been doing at this point? This could be from the web ui using the "test" functionality of the connector edit view. Or it could be an explicit http request to Kibana to execute a connector.
Could I poke through the logs, maybe I'll see something ...

@pmuellr
Copy link
Member

pmuellr commented Jun 15, 2021

Ah, just realized this is coming from the tests, not a typical deployment. Do we know what test?

@pmuellr pmuellr added the Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams) label Jun 15, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-alerting-services (Team:Alerting Services)

@pmuellr
Copy link
Member

pmuellr commented Jun 15, 2021

There's a Team:Core label on this issue right now, but really seems like an alerting issue, so will remove that label ...

@pmuellr pmuellr added Feature:Actions and removed Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc labels Jun 15, 2021
@gmmorris gmmorris added the Feature:Actions/Framework Issues related to the Actions Framework label Jul 1, 2021
@gmmorris gmmorris added the loe:medium Medium Level of Effort label Jul 17, 2021
@gmmorris gmmorris added the estimate:small Small Estimated Level of Effort label Aug 18, 2021
@gmmorris gmmorris removed the loe:medium Medium Level of Effort label Sep 2, 2021
@kobelb kobelb added the needs-team Issues missing a team label label Jan 31, 2022
@botelastic botelastic bot removed the needs-team Issues missing a team label label Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience estimate:small Small Estimated Level of Effort Feature:Actions/Framework Issues related to the Actions Framework Feature:Actions Team:ResponseOps Label for the ResponseOps team (formerly the Cases and Alerting teams)
Projects
No open projects
Development

No branches or pull requests

6 participants