dosubot[bot] commented on issue #36482: URL: https://github.com/apache/superset/issues/36482#issuecomment-3632508049
<!-- Answer --> Your StarRocks driver version (1.2.2) is not compatible with Superset’s required SQLAlchemy version (1.4.54). This mismatch can cause authentication errors when running queries, even if the connection appears successful and tables are visible. The recommended fix is to downgrade the StarRocks driver to version 1.0.6, which works with SQLAlchemy 1.4.54 and resolves these issues [source](https://github.com/apache/superset/issues/31803). Also, make sure your connection string follows the format `starrocks://<User>:<Password>@<Host>:<Port>/<Catalog>.<Database>`—catalog and database must be separated by a dot [source](https://github.com/apache/superset/blob/master/superset/db_engine_specs/starrocks.py). If you still see errors after downgrading, check your Superset database “Extra” JSON for any SSL or authentication options, and confirm your endpoint isn’t a read-only replica. If you want, share your Extra JSON and the full connection string (with sensitive info redacted) for a more detailed review. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/5a4ee6a0-2e22-419e-9a27-282f665f566f?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/5a4ee6a0-2e22-419e-9a27-282f665f566f?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/5a4ee6a0-2e22-419e-9a27-282f665f566f?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/5a4ee6a0-2e22-419e-9a27-282f665f566f?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/5a4ee6a0-2e22-419e-9a27-282f665f566f?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/5a4ee6a0-2e22-419e-9a27-282f665f566f?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/5a4ee6a0-2e22-419e-9a27-282f665f566f?feedback_type=other)</sup> [](https://app.dosu.dev/a28d3c7e-a9d3-459e-9fb6-3a6f9ff4f357/ask?utm_source=github) [](https://cursor.com/link/prompt?text=Your%20StarRocks%20driver%20version%20%281.2.2%29%20is%20not%20compatible%20with%20Superset%E2%80%99s%20required%20SQLAlchemy%20version%20%281.4.54%29.%20This%20mismatch%20can%20cause%20authentication%20errors%20when%20running%20queries%2C%20even%20if%20the%20connection%20appears%20successful%20and%20tables%20are%20visible.%20The%20recommended%20fix%20is%20to%20downgrade%20the%20StarRocks%20driver%20to%20version%201.0.6%2C%20which%20works%20with%20SQLAlchemy%201.4.54%20and%20resolves%20these%20issues%20%5Bsource%5D%28https%3A//github.com/apache/superset/issues/31803%29.%0A%0AAlso%2C%20make%20sure%20your%20connection%20string%20follows%20the%20format%20%60starrocks%3A//%3CUser%3E%3A%3CPassword%3E%40%3CHost%3E%3A%3CPort%3E/%3CCatalog%3E.%3CDatabase%3 E%60%E2%80%94catalog%20and%20database%20must%20be%20separated%20by%20a%20dot%20%5Bsource%5D%28https%3A//github.com/apache/superset/blob/master/superset/db_engine_specs/starrocks.py%29.%0A%0AIf%20you%20still%20see%20errors%20after%20downgrading%2C%20check%20your%20Superset%20database%20%E2%80%9CExtra%E2%80%9D%20JSON%20for%20any%20SSL%20or%20authentication%20options%2C%20and%20confirm%20your%20endpoint%20isn%E2%80%99t%20a%20read-only%20replica.%20If%20you%20want%2C%20share%20your%20Extra%20JSON%20and%20the%20full%20connection%20string%20%28with%20sensitive%20info%20redacted%29%20for%20a%20more%20detailed%20review.) [](https://go.dosu.dev/discord-bot) [](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/apache/superset/issues/36482) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
