GitHub user dosubot[bot] added a comment to the discussion: Report
ERR_CERT_AUTHORITY_INVALID
<!-- Answer -->
The ERR_CERT_AUTHORITY_INVALID error means Playwright can't trust the SSL
certificate presented by your Superset instance—this usually happens with
self-signed or untrusted certificates. Playwright enforces SSL validation by
default, so screenshotting fails if the certificate isn't recognized.
To bypass this in Superset, add `"--ignore-certificate-errors"` to your
`WEBDRIVER_OPTION_ARGS` in `superset_config.py`. For example:
```python
WEBDRIVER_OPTION_ARGS = [
"--no-sandbox",
"--disable-setuid-sandbox",
"--headless",
"--disable-gpu",
"--disable-dev-shm-usage",
"--disable-extensions",
"--ignore-certificate-errors",
"--window-size=1280,1024"
]
```
This tells Chromium to ignore certificate errors when Playwright launches the
browser for screenshots. You can find more details in the [official
configuration docs](https://github.com/apache/superset/discussions/35327).
Keep in mind: ignoring certificate errors is fine for internal or testing
environments, but it's not recommended for production—use a trusted certificate
authority for public-facing deployments.
If you still see issues, check that the `PLAYWRIGHT_REPORTS_AND_THUMBNAILS`
feature flag is enabled, the headless browser is installed in your worker
container, and the worker can reach Superset via `WEBDRIVER_BASEURL`. Reviewing
Celery worker logs can also help pinpoint problems.
<!-- Dosu Comment Footer -->
*To reply, just mention [@dosu](https://go.dosu.dev/dosubot).*
---
<sup>How did I do?
[Good](https://app.dosu.dev/response-feedback/88bfd353-d35a-4932-b761-6f97a3c68ba9?feedback_type=great_response)
|
[Irrelevant](https://app.dosu.dev/response-feedback/88bfd353-d35a-4932-b761-6f97a3c68ba9?feedback_type=irrelevant_answer)
|
[Incorrect](https://app.dosu.dev/response-feedback/88bfd353-d35a-4932-b761-6f97a3c68ba9?feedback_type=incorrect_sources)
|
[Verbose](https://app.dosu.dev/response-feedback/88bfd353-d35a-4932-b761-6f97a3c68ba9?feedback_type=too_verbose)
|
[Hallucination](https://app.dosu.dev/response-feedback/88bfd353-d35a-4932-b761-6f97a3c68ba9?feedback_type=hallucination)
| [Report
🐛](https://app.dosu.dev/response-feedback/88bfd353-d35a-4932-b761-6f97a3c68ba9?feedback_type=bug_report)
|
[Other](https://app.dosu.dev/response-feedback/88bfd353-d35a-4932-b761-6f97a3c68ba9?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github)&
nbsp;[](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/discussions/36206)
GitHub link:
https://github.com/apache/superset/discussions/36206#discussioncomment-15026131
----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]