Skip to content

Can't request GET or POST method using requests or other packages in M1 mac environment #33245

@myeonggilju

Description

@myeonggilju

Apache Airflow version

2.6.3

What happened

I use MLflow provider and slack provider and so on.
I want to request get or post method using PythonOperator or SlackOperator

But It was maintained as running state forever when I request http or https protocol.
It generate well in kafka and database operator
Also, It generate well in docker with linux/amd64 platform environment.
I think It have problem in M1 mac

What you think should happen instead

No response

How to reproduce

You make python operator and request google site on GET method using requests package

def task1(**context):
    import requests
    res = requests.get("https://google.com")
    print(res.text)

Operating System

ventura 13.1

Versions of Apache Airflow Providers

apache-airflow==2.6.3
apache-airflow-providers-slack==7.3.1
apache-airflow-providers-http==4.5.0

Deployment

Virtualenv installation

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

스크린샷 2023-08-09 오후 2 46 10
  • docker with linux/amd64 environment
스크린샷 2023-08-09 오후 2 50 25

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:corekind:bugThis is a clearly a bugneeds-triagelabel for new issues that we didn't triage yet

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions