GitHub user dosubot[bot] added a comment to the discussion: Superset 
Report/Alert Failures After Update to 4.1.2 - Invalid Cookie Domain Error

<!-- Answer -->
The issue you're experiencing with the "invalid cookie domain" error might be 
related to the configuration of the `SESSION_COOKIE_DOMAIN` setting in your 
`superset_config.py`. This setting should match the domain of the URL that the 
WebDriver is accessing. If it's not set correctly, it can cause issues with 
cookie handling.

Here are a few things to check and adjust in your configuration:

1. **SESSION_COOKIE_DOMAIN**: Ensure that this setting is configured to match 
the domain of your Superset instance. If your Superset is accessed via 
`superset.mydomain.com`, then `SESSION_COOKIE_DOMAIN` should be set to 
`.mydomain.com`.

2. **WEBDRIVER_BASEURL**: Make sure that the `WEBDRIVER_BASEURL` is correctly 
set to the URL that the WebDriver should use to access the Superset 
application. It should match the domain for which the cookies are valid.

3. **CORS and Talisman Configuration**: Your CORS and Talisman settings seem to 
be configured to allow requests from `superset.mydomain.com`. Ensure that these 
settings are consistent with your domain configuration.

4. **Check for Hardcoded URLs**: Ensure there are no hardcoded URLs in your 
configuration or code that might conflict with the domain settings.

By ensuring that these configurations are consistent and correctly set, you 
should be able to resolve the cookie domain issue. If the problem persists, 
double-check any other domain-related settings in your configuration.


<!-- Dosu Comment Footer -->
*To continue talking to [Dosu](https://dosu.dev), mention @dosu.*

---
<sup>Help Dosu learn! Give it feedback: [Great 
Response](https://app.dosu.dev/response-feedback/ba58e8a1-5ec3-4cf4-8328-63e509e1588b?feedback_type=great_response)
 | [Irrelevant 
Answer](https://app.dosu.dev/response-feedback/ba58e8a1-5ec3-4cf4-8328-63e509e1588b?feedback_type=irrelevant_answer)
 | [Incorrect 
Sources](https://app.dosu.dev/response-feedback/ba58e8a1-5ec3-4cf4-8328-63e509e1588b?feedback_type=incorrect_sources)
 | [Too 
Verbose](https://app.dosu.dev/response-feedback/ba58e8a1-5ec3-4cf4-8328-63e509e1588b?feedback_type=too_verbose)
 | 
[Hallucination](https://app.dosu.dev/response-feedback/ba58e8a1-5ec3-4cf4-8328-63e509e1588b?feedback_type=hallucination)
 | [Bug 
Report](https://app.dosu.dev/response-feedback/ba58e8a1-5ec3-4cf4-8328-63e509e1588b?feedback_type=bug_report)
 | 
[Other](https://app.dosu.dev/response-feedback/ba58e8a1-5ec3-4cf4-8328-63e509e1588b?feedback_type=other)</sup>


GitHub link: 
https://github.com/apache/superset/discussions/33186#discussioncomment-12879776

----
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]

Reply via email to