Skip to content

In HTTPS Change of data source not working on Table and Dashboards #8160

Description

@srikanth-reddy-m

supersetImage
A clear and concise description of what the bug is.

CodeBase: Master Branch

When trying to change superset data source from HTTPS it is trying to open Url in HTTP in which it is creating the error.

Error: Unsafe attempt to load URL, Domains, protocols, and ports must match

Expected results

It should load URL's with only HTTps
what you expected to happen.

Actual results

what actually happens.

Screenshots

![supersetImage](
supersetImage

)

If applicable, add screenshots to help explain your problem.

How to reproduce the bug

  1. Go to Superset sources and select Tables.
  2. Click on any source this will open that source
  3. Now click on Data Source drop-down and select change data source and select any data source.
  4. This will show error

Environment

(please complete the following information):

  • superset version: superset version
  • python version: python --version
  • node.js version: node -v
  • npm version: npm -v

Checklist

Make sure these boxes are checked before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions