OAuth problem when setting NO_PROXY variable

Hey!

I am running Drone on a Kubernetes cluster, in a private network:

  • proxy with IP 192.168.66.1 and have a public IP
  • master with IP 192.168.66.3
  • two workets with IP 192.168.66.2 and .4

I pass these environment variables to Drone server:

  • HTTP_PROXY=http://192.168.66.1:8888
  • HTTPS_PROXY=https://192.168.66.1:8888
  • NO_PROXY=192.168.66.3

When I don’t pass the NO_PROXY variable, I can access my Drone UI with no problem. However when I set the NO_PROXY, I get:

time="2018-01-25T16:25:55Z" level=error msg="cannot authenticate user. Post https://github.com/login/oauth/access_token: Access denied" 

Any idea why ?

Cheers!