GitHub user lsikora1 added a comment to the discussion: Superset Report/Alert
Failures After Update to 4.1.2 - Invalid Cookie Domain Error
@dosu My bad. I've downgraded to 4.1.1 but the issue still persists. It looks
like it might have been something related to my configuration. Could you help
me spot potential issue?
```yaml
configOverrides:
celery_conf: |
from celery.schedules import crontab
class CeleryConfig:
broker_url = f"redis://{env('REDIS_HOST')}:{env('REDIS_PORT')}/0"
imports = (
"superset.sql_lab",
"superset.tasks.cache",
"superset.tasks.scheduler",
)
result_backend = f"redis://{env('REDIS_HOST')}:{env('REDIS_PORT')}/0"
task_annotations = {
"sql_lab.get_sql_results": {
"rate_limit": "100/s",
},
}
beat_schedule = {
"reports.scheduler": {
"task": "reports.scheduler",
"schedule": crontab(minute="*", hour="*"),
},
"reports.prune_log": {
"task": "reports.prune_log",
'schedule': crontab(minute=0, hour=0),
},
'cache-warmup-hourly': {
"task": "cache-warmup",
"schedule": crontab(minute="*/30", hour="*"),
"kwargs": {
"strategy_name": "top_n_dashboards",
"top_n": 10,
"since": "7 days ago",
},
}
}
CELERY_CONFIG = CeleryConfig
reports: |
EMAIL_PAGE_RENDER_WAIT = 60
WEBDRIVER_BASEURL = "http://{{ template "superset.fullname" . }}:{{
.Values.service.port }}/"
WEBDRIVER_BASEURL_USER_FRIENDLY = "https://superset.mydomain.com/"
WEBDRIVER_TYPE= "chrome"
WEBDRIVER_OPTION_ARGS = [
"--force-device-scale-factor=2.0",
"--high-dpi-support=2.0",
"--headless",
"--disable-gpu",
"--disable-dev-shm-usage",
# This is required because our process runs as root (in order to
install pip packages)
"--no-sandbox",
"--disable-setuid-sandbox",
"--disable-extensions",
]
cors: |
ENABLE_CORS = True
CORS_OPTIONS = {
'supports_credentials': True,
'allow_headers': [
'Content-Type',
'Authorization',
'X-CSRFToken'
],
'resources': ['/api/*'],
'origins': ['https://superset.mydomain.com']
}
talisman: |
TALISMAN_ENABLED = True
TALISMAN_CONFIG = {
"content_security_policy": {'frame-ancestors': ['*.mydomain.com']}
}
GitHub link:
https://github.com/apache/superset/discussions/33186#discussioncomment-12879770
----
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]