I am doing a python service call in the apache airflow job, the POST call is straight forward, but after 5 minutes , it fails with this error "Remote end closed connection without response".
res = requests.post(url, verify=False, auth=token) //The server responds in 5 to 10 minutes after it process few items
Note : The same call works fine using the "CURL" command. Received response after 8 minutes consistently
I am trying to understand who is closing the connection? Is it Client side, Server side or Apache airflow? As CURL command works fine, the server side seems to be fine. Do I need to change my client side python request call timeout etc or Apache airflow side changes?