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

Panels rendering timeout #67

Closed
Teajo opened this issue Dec 10, 2019 · 9 comments
Closed

Panels rendering timeout #67

Teajo opened this issue Dec 10, 2019 · 9 comments

Comments

@Teajo
Copy link

Teajo commented Dec 10, 2019

Hello everyone,

I experienced some troubles with grafana image renderer (same troubles with PhantomJS renderer).
Some panels (like Clock, DrawIO, and some of my custom panels) are impossible to render (the timeout is always reached).

Some logs :
lvl=eror msg="Render request failed" logger=rendering url="http://localhost:3000/d-solo/ksSgva0Wz/main?orgId=1&from=1572495407183&to=1572500826087&panelId=27&width=1000&height=500&tz=Europe%2FParis&render=1" error=map[name:TimeoutError] timestamp=0001-01-01T00:00:00.000Z

Environment :

  • Grafana Image Renderer version : 1.0.7
  • Grafana version : 6.4.3
  • Installed plugin or remote renderer service : installed plugin
  • OS Grafana Image Renderer is installed on: Debian 9
  • User OS & Browser: Windows, Chrome

Do you know how can I fix that ?

Thanks

@marefr
Copy link
Member

marefr commented Dec 11, 2019

Please include more information like

**Environment**:
- Grafana Image Renderer version:
- Grafana version:
- Installed plugin or remote renderer service:
- OS Grafana Image Renderer is installed on:
- User OS & Browser:
- Others:

@Teajo
Copy link
Author

Teajo commented Dec 11, 2019

Sorry I have updated my message with informations you need ! Thanks

@marefr
Copy link
Member

marefr commented Dec 11, 2019

  • Does it work to render graph panel?
  • Would suggest trying an older version of the plugin, like 1.0.5 to start with - does that work?
  • In case above doesn't work, can you include a Grafana dashboard json having one of the panels that you're having problems to render, please leave out any sensitive information.

Thanks

@Teajo
Copy link
Author

Teajo commented Dec 12, 2019

  • Yes it works correctly with graph panel
  • Tested with 1.0.5 and same troubles
  • The file is here dashboard.txt. It contains a dashboard json with an unique flowcharting panel.

Thanks

@marefr marefr added the type/bug Something isn't working label Dec 30, 2019
@marefr
Copy link
Member

marefr commented Dec 30, 2019

Confirmed bug. Could be a bug in flowchart panel

@marefr
Copy link
Member

marefr commented Dec 30, 2019

Think this.renderingCompleted() needs to be called here and/or when render is finished: https://github.com/algenty/grafana-flowcharting/blob/master/src/flowchart_ctrl.js#L71

Would suggest to open an issue in https://github.com/algenty/grafana-flowcharting

@marefr marefr closed this as completed Dec 30, 2019
@marefr marefr removed the type/bug Something isn't working label Dec 30, 2019
@algenty
Copy link

algenty commented Jan 14, 2020

Hi @marefr,

I don't know this method renderingCompleted(), i'll try it in next version

@algenty
Copy link

algenty commented Mar 21, 2020

For information, work in progress, i added this.renderingCompleted(), render function give a result but without colors ;
chrome_yvn8vIxAqm

@algenty
Copy link

algenty commented Mar 21, 2020

Hi @Teajo
comme on #67

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants