badf007 commented on issue #56165:
URL: https://github.com/apache/airflow/issues/56165#issuecomment-3348731916

   Same error trying to connect a GitHub repo as a DagBundle:
   
   Airflow version: 3.1.0
   
   airflow.cfg bundle config
   ```
   dag_bundle_config_list = [
         {
           "name": "local-dags-test2",
           "classpath": "airflow.providers.git.bundles.git.GitDagBundle",
           "kwargs": {"tracking_ref": "main", "git_conn_id": "local-dags-test"}
         },
         {
           "name": "dags-folder",
           "classpath": "airflow.dag_processing.bundles.local.LocalDagBundle",
           "kwargs": {}
         }
       ]
   
   ``` 
   
   Error Message
   ```
   2025-09-29T19:26:31.845555Z [error    ] Error initializing bundle 
local-dags-test2: Connection local-dags-test doesn't have a host url 
[airflow.dag_processing.manager.DagFileProcessorManager] loc=manager.py:510
   
   Traceback (most recent call last):
   
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/dag_processing/manager.py",
 line 508, in _refresh_dag_bundles
   
       bundle.initialize()
   
     File 
"/home/airflow/.local/lib/python3.12/site-packages/airflow/providers/git/bundles/git.py",
 line 112, in initialize
   
       raise AirflowException(f"Connection {self.git_conn_id} doesn't have a 
host url")
   
   airflow.exceptions.AirflowException: Connection local-dags-test doesn't have 
a host url
   ``` 
   
   Connection config:
   
   <img width="940" height="852" alt="Image" 
src="https://github.com/user-attachments/assets/b751d080-784a-4de4-86b2-d0795c6d4486";
 />


-- 
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]

Reply via email to