ClickHouse / power-bi-clickhouse

This connector allows you to retrieve data from ClickHouse directly into Power BI for analysis and visualization
Apache License 2.0
45 stars 1 forks source link

Authentication issue #25

Open bubbaspaarx opened 2 months ago

bubbaspaarx commented 2 months ago

Describe the bug Unable to authenticate with from PowerBi desktop to our clickhouse cloud server

We receive a message saying that the authentication has failed and either the password is wrong or the user doesn't exist.

Using the same details on a curl request works absolutely fine so I don't believe the that the password or user details are incorrect.

To Reproduce Steps to reproduce the behavior:

  1. Enter details for server, database, user and password
  2. Try to connect

Expected behavior Expect to connect to our database from PowerBi desktop using the OBDC connector

Screenshots If applicable, add screenshots to help explain your problem.

Configuration

Environment

bubbaspaarx commented 2 months ago

FYI to anyone who also got here. This is an issue with '~' tilde's being present in the password. It is also a known issue on the clickhouse side of things.

anob1223 commented 2 months ago

Could this be related to reports published in PowerBI Service? We are unable to authenticate under "Manage Connections and Gateways" as whenever we are selecting Authentication Type dropdown, it shows blank.

image

bubbaspaarx commented 2 months ago

Could this be related to reports published in PowerBI Service? We are unable to authenticate under "Manage Connections and Gateways" as whenever we are selecting Authentication Type dropdown, it shows blank.

image

Not sure this is linked to our issue as we hadn't been able to get that far but I'll bear it in mind. There is apparently an option in the Powerbi settings related to credentials being saved for all connections. This also prevented us from changing the password on a connection we had already set up so it may be related to that.

It's definitely worth doing a live chat with Clickhouse support if you're having issues as this is how we found out about the ~/tilde issue