You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/08/11 13:36:53 UTC

[GitHub] [airflow] feluelle commented on issue #17536: Oauth for google redirect_uri error expecting HTTPS but sending HTTP

feluelle commented on issue #17536:
URL: https://github.com/apache/airflow/issues/17536#issuecomment-896833989


   I can confirm this. Spent already a couple of hours or days trying to figure this out.
   
   But tbh I think the bug is somewhere upstream. My guess is FAB.
   
   I already tried a dozen things. In my case we have Airflow [running behind a proxy](https://airflow.apache.org/docs/apache-airflow/stable/howto/run-behind-proxy.html), but the proxy fix did not solve this specific issue.
   To better debug it, I used [ksniff](https://github.com/eldadru/ksniff) as we have Airflow running in K8s and I wanted to investigate the network traffic. 
   I used the following command to retrieve all http(s) get and post requests:
   ```
   kubectl sniff <pod> -n airflow -p -f 'tcp dst port 80 or tcp dst port 443 and tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x47455420 or tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x504F5354 or tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x48545450 or tcp[((tcp[12:1] & 0xf0) >> 2):4] = 0x3C21444F' -o -
   ```
   then I also piped this to `tshark` for better visualisation and I could only find http calls not a single https call being made.
   
   I don't know what is going on there. Appreciate help as well! :)
   
   


-- 
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: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org