dosubot[bot] commented on issue #32266: URL: https://github.com/apache/superset/issues/32266#issuecomment-2660125333
<!-- Answer --> The error you're encountering, `GENERIC_DB_ENGINE_ERROR`, is a common issue in Superset when the database returns an unexpected error. This error is often related to the database driver or connection handling <sup>[[1]](https://github.com/apache/superset/blob/master/superset/errors.py)</sup>. To connect Apache Superset to Apache Druid, ensure that you are using the correct connection string format with the `pydruid` library: ```plaintext druid://<User>:<password>@<Host>:<Port-default-9088>/druid/v2/sql ``` Make sure that the username, password, host, and port are correctly specified. Additionally, you can customize the connection by adding certificates in the **Root Certificate** field or by disabling SSL verification using the **Extras** field with the following configuration: ```json engine_params: { "connect_args": { "scheme": "https", "ssl_verify_cert": false } } ``` This setup should help in configuring your Druid database within Superset <sup>[[2]](https://github.com/apache/superset/blob/master/docs/docs/configuration/databases.mdx)</sup>. If the connection works with a basic Python script but not within Superset, it might be worth checking the Superset logs for more detailed error messages. Also, ensure that the PyDruid version is compatible with Superset 4.1.0, which should be version 0.6.9 <sup>[[3]](https://github.com/apache/superset/blob/master/CHANGELOG/4.1.0.md)</sup>. If these steps do not resolve the issue, consider reviewing the Superset logs for any additional error messages that might provide more insight into the problem. <!-- 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/2301b1b9-34c4-413e-a9ed-ca30efcd73ef?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/2301b1b9-34c4-413e-a9ed-ca30efcd73ef?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/2301b1b9-34c4-413e-a9ed-ca30efcd73ef?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/2301b1b9-34c4-413e-a9ed-ca30efcd73ef?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/2301b1b9-34c4-413e-a9ed-ca30efcd73ef?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/2301b1b9-34c4-413e-a9ed-ca30efcd73ef?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/2301b1b9-34c4-413e-a9ed-ca30efcd73ef?feedback_type=other)</sup> -- 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]
