You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug: The Kibana Platform creates two HTTP services (one for setup, one for start). As a result, HTTP request/response interceptors in the Kibana Platform don't always get triggered.
Steps to reproduce: To quickly verify this behavior, in src/core/public/http/fetch.ts, add the following line at the beginning of the fetch method:
Then, log into Kibana and view the console to see fetch requests going through both HTTP services. Example:
Any additional context: It appears that a change to http_service.ts in #53033 inadvertently resulted in the plugin setup and start methods each receiving a different version of the HTTP service. If interceptors were registered during setup, they would not be affected by requests that were made with the HTTP service from start (and vice versa). Special thanks to @legrego for doing the heavy lifting in troubleshooting!
The text was updated successfully, but these errors were encountered:
jportner
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
triaged
labels
Feb 7, 2020
Kibana version: 7.6 RC+
Describe the bug: The Kibana Platform creates two HTTP services (one for
setup
, one forstart
). As a result, HTTP request/response interceptors in the Kibana Platform don't always get triggered.Steps to reproduce: To quickly verify this behavior, in
src/core/public/http/fetch.ts
, add the following line at the beginning of thefetch
method:Then, log into Kibana and view the console to see fetch requests going through both HTTP services. Example:
Any additional context: It appears that a change to
http_service.ts
in #53033 inadvertently resulted in the pluginsetup
andstart
methods each receiving a different version of the HTTP service. If interceptors were registered duringsetup
, they would not be affected by requests that were made with the HTTP service fromstart
(and vice versa). Special thanks to @legrego for doing the heavy lifting in troubleshooting!The text was updated successfully, but these errors were encountered: