emincanoguz11 opened a new issue, #27029:
URL: https://github.com/apache/airflow/issues/27029

   ### Apache Airflow version
   
   Other Airflow 2 version (please specify below)
   
   ### What happened
   
    We use Airflow 2.3.3. I see that this test is successful, but I take a this 
error. This is the picture
   
   File 
"/home/airflow/.local/lib/python3.7/site-packages/requests/sessions.py", line 
792, in get_adapter raise InvalidSchema(f"No connection adapters were found for 
{url!r}")
   
   <img width="1756" alt="Screen Shot 2022-10-12 at 15 34 40" 
src="https://user-images.githubusercontent.com/47830986/195560866-0527c5f6-3795-460b-b78b-2488e2a77bfb.png";>
   
   <img width="1685" alt="Screen Shot 2022-10-12 at 15 37 27" 
src="https://user-images.githubusercontent.com/47830986/195560954-f5604d10-eb7d-4bab-b10b-2684d8fbe4a2.png";>
   
   I take dag like this
   ![Screen Shot 2022-10-13 at 12 36 
25](https://user-images.githubusercontent.com/47830986/195561373-8bc4fd37-4f22-4a40-8b71-52efa10d622d.png)
   ![Screen Shot 2022-10-13 at 12 37 
15](https://user-images.githubusercontent.com/47830986/195561566-9a911dd5-cdb2-4b42-98d2-214ed944a4c5.png)
   
   
   Also I tried this type but I failed
   
   `    ingestion_2 = SimpleHttpOperator(
       task_id='test_task',
       method='POST',
       http_conn_id=DRUID_CONN_ID,
       endpoint='/druid/indexer/v1/task',
       data=json.dumps(read_file),
       dag=dag,
       do_xcom_push=True,
       headers={
           'Content-Type': 'application/json'
       },
       response_check=lambda response: response.json()['Status'] == 200)
   `
   
   I get this log 
   `[2022-10-13, 06:16:46 UTC] {http.py:143} ERROR - {"error":"Missing type id 
when trying to resolve subtype of [simple type, class 
org.apache.druid.indexing.common.task.Task]: missing type id property 'type'\n 
at [Source: (org.eclipse.jetty.server.HttpInputOverHTTP); line: 1, column: 1]"}
   `
   I don't know this is bug or issue or networking problem but can we check 
this?  
   
   P.S - We use Airflow on Kubernetes so that we can not debug it.
   
   
   
   ### What you think should happen instead
   
   _No response_
   
   ### How to reproduce
   
   _No response_
   
   ### Operating System
   
   Kubernetes
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] 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]

Reply via email to