-
Notifications
You must be signed in to change notification settings - Fork 31
PDF/PNG download report - doesn't work ODFE1.13 - http 500 error #387
Comments
can you check and see if there's any error log on Kibana server side? |
@RameshKatkam are you using any kind of authentication requiring the presence of certain headers (e.g. proxy auth requires the presence of x-proxy-user and x-proxy-roles headers)? I have seen the exact same behavior as you (i.e. I can generate CSV reports but not PDF and PNG), and it only occurs for me when I have proxy auth enabled. In my case, the requests made by headless Chrome don't appear to carry the auth headers through. In the Kibana logs, I see a 401 immediately upon clicking "Generate PDF/PNG", followed by a 500 in the Kibana logs and a 500 in the browser (like you are seeing) exactly one minute after the initial request. This is the 401 that get's thrown immediately in response to headless Chrome's request:
I am starting to think that headers are not being passed to or handled correctly by the headless chrome browser. It would explain why CSV reports are generated without issue (as they do not rely on headless chrome as far as I know), but PDF/PNG reports are not. Just a hunch. |
Hello,
Version details:
elasticsearch-oss-7.10.2-1.x86_64
opendistroforelasticsearch-1.13.1-1.x86_64
opendistroforelasticsearch-kibana-1.13.1-1.x86_64
Reproduce issue:
chrome developer tools response:
{statusCode: 500, error: "Internal Server Error",…}
error: "Internal Server Error"
message: "Protocol error (Target.setDiscoverTargets): Target closed."
statusCode: 500
Any thoughts on resolution?
Thanks in advance.
The text was updated successfully, but these errors were encountered: