Skip to content

Invalid cookie domain error when selenium tries taking a screenshot #34913

@Dens1002

Description

@Dens1002

Bug description

I have the alerts and reports features enabled for my superset instance, but I get the error message that my cookie domain is invalid and therefore superset fails to take a screenshot, which causes neither the alerts or reports to work. I did try setting the SESSION_COOKIE_DOMAIN parameter in the superset_config.py file (I made sure that it is the same address as my superset instance) but I still get the same error message

Screenshots/recordings

No response

Superset version

master / latest-dev

Python version

3.9

Node version

16

Browser

Chrome

Additional context

No response

Checklist

  • I have searched Superset docs and Slack and didn't find a solution to my problem.
  • I have searched the GitHub issue tracker and didn't find a similar bug report.
  • I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Metadata

Metadata

Assignees

No one assigned

    Labels

    alert-reportsNamespace | Anything related to the Alert & Reports feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions