[Console] Missing "user-agent" header when sending requests #183180
Labels
Feature:Console
Dev Tools Console Feature
Team:Kibana Management
Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
A post on discuss has revealed that in some setups, the requests via Dev tools Console fail due to them not having the correct
user-agent
header set. In the current implementation of the Console proxy, all headers except those specified in theelasticsearch.requestHeadersWhitelist
are filtered out (see this code). The headeruser-agent
can't be added to that config though as Kibana has its own logic regarding this header (#141003).To fix the failing requests, we could maybe copy the existing header
user-agent
when proxying the requests via Console?The text was updated successfully, but these errors were encountered: