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

Image renderer hangs if API responds with status code not equal to 200. #435

Closed
badrishroff opened this issue Jun 28, 2023 · 3 comments
Closed

Comments

@badrishroff
Copy link

Below is the configuration we are using -

 "rendering": {
    "args": ["--no-sandbox", "--disable-gpu"],
    "ignoresHttpsErrors": false,
    "mode": "clustered",
    "clustering": {
      "mode": "context",
      "maxConcurrency": 5,
      "timeout": 120
    }
  }

Basically, we have increased the timeout to 120 seconds for the API request to complete. But as the API call failed with status code 401 the page hangs forever and will not allow other requests to complete. Also, observed Browser uncaught exception in the image renderer logs.

@alirezamansoori
Copy link

any updates on this?

@AgnesToulet
Copy link
Contributor

Hello! Thanks for reporting this. What do you mean by "API request"? The Grafana data request for the panel you're trying to render? Would it be possible to provide the image renderer logs for the image renderer request that is failing? (Please enable verbose logging and set the logs level to debug before sharing your logs).

@AgnesToulet
Copy link
Contributor

Closing this as stale. Please feel free to re-open if you have more information to share on this issue.

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

No branches or pull requests

3 participants