swasenius opened a new issue, #39968: URL: https://github.com/apache/airflow/issues/39968
### Apache Airflow version 2.9.1 ### If "Other Airflow 2 version" selected, which one? _No response_ ### What happened? After migration 2.5.3 -> 2.9.1 we noticed that the connectivity "Test" in Airflow UI does not work for JDBC connections. We do have AIRFLOW__CORE__TEST_CONNECTION enabled. It will give an error on the the UI such as: "`The conn_id `<random string>` isn't defined`". The string here is always changing so it somehow does not pick up the connection_id right. ### What you think should happen instead? Testing JDBC connectivity should work, if connection details are correct. ### How to reproduce When testing JDBC connection in Airflow UI. ### Operating System Debian 12 ### Versions of Apache Airflow Providers airflow@airflow-worker-0:/opt/airflow$ pip freeze |grep airflow-prov apache-airflow-providers-amazon==7.4.1 apache-airflow-providers-celery==3.6.2 apache-airflow-providers-cncf-kubernetes==8.0.0 apache-airflow-providers-common-io==1.3.1 apache-airflow-providers-common-sql==1.12.0 apache-airflow-providers-docker==3.10.0 apache-airflow-providers-elasticsearch==5.3.4 apache-airflow-providers-fab==1.0.4 apache-airflow-providers-ftp==3.8.0 apache-airflow-providers-google==10.17.0 apache-airflow-providers-grpc==3.4.1 apache-airflow-providers-hashicorp==3.6.4 apache-airflow-providers-http==4.10.1 apache-airflow-providers-imap==3.5.0 apache-airflow-providers-jdbc==4.2.2 apache-airflow-providers-microsoft-azure==10.0.0 apache-airflow-providers-microsoft-mssql==3.6.1 apache-airflow-providers-mysql==5.5.4 apache-airflow-providers-odbc==4.5.0 apache-airflow-providers-openlineage==1.7.0 apache-airflow-providers-postgres==5.10.2 apache-airflow-providers-redis==3.6.1 apache-airflow-providers-sendgrid==3.4.0 apache-airflow-providers-sftp==4.9.1 apache-airflow-providers-slack==8.6.2 apache-airflow-providers-smtp==1.6.1 apache-airflow-providers-snowflake==5.4.0 apache-airflow-providers-sqlite==3.7.1 apache-airflow-providers-ssh==3.10.1 ### Deployment Official Apache Airflow Helm Chart ### Deployment details _No response_ ### Anything else? _No response_ ### Are you willing to submit PR? - [ ] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md) -- 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]
