-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Cannot export Canvas reports in master #25052
Comments
I did just merge the export to png PR and forgot to manually test canvas, there is also no test coverage for canvas reporting. It's possible that broke something. Did you happen to note if 6.5 still works @alexfrancoeur? |
I tested the 2 sample canvas workpads and they export to PDF with no errors. So I am assuming this issue is not related to the Export to PNG PR. |
Could be that one of the visualizations on the canvas workpad isn't updating with render_complete flag, that is often the case with the timeout errors. |
If you are running in non-production mode, you'll see warnings in your console after 15 seconds if that's the case. |
I've been having problems with this in the 6.x build as well. I'd be interested in hearing if anyone else is seeing this issue. @w33ble if you export this workpad as a PDF, do you run into timeout issues? |
I was able to reproduce it. Looks like its timing out on the 3rd page. I set the timeout to 20 minutes and it still timed out so I think there is something with the workpad that is causing this. |
I attempted to tweak some JSON that I believe fixed this issue that I thought was causing the reporting problem. However, now my reports are failing with This might be specific to my workpad. Not sure what's going on here. Any help would be appreciated but I am able to export smaller ones. After speaking with @rashidkpc, we timeout because reporting doesn't have much error handling. It'd be nice if we could fix this and provide more detailed error handling in the future. |
I think I'm good here. I'll open another issue for better error handling with reporting. I'm now able to export after resolving that issue |
I'm consistently able to reproduce this error when attempting to generate a report from a Canvas workpad.
It's possible this is because the workpads I'm using are multiple pages and a bit larger, but I'd expect this functionality to work. It's worth noting that I am using a 24 hour timepicker here as well, so I'm not sure if #23129 is related. That shouldn't require any user input and I'd imagine it'd be a very common use case that those sending reports would want the data to be limited to a certain timeframe.
kibana.yml
reporting settings (I bumped up the timeout from180000
to see if I could get a result):Reporting logs:
report_log.log
Workpad for this specific log: https://github.com/alexfrancoeur/kibana_canvas_examples/tree/master/presentations/what_is_canvas
cc: @rashidkpc @stacey-gammon @w33ble @tsullivan
The text was updated successfully, but these errors were encountered: