Netflix / zuul

Zuul is a gateway service that provides dynamic routing, monitoring, resiliency, security, and more.
Apache License 2.0
13.51k stars 2.38k forks source link

Zuul not honoring proxy settings #319

Closed vasyaivanov closed 7 years ago

vasyaivanov commented 7 years ago

Hi. I know there is/was a bug where Zuul does now honor proxy setting set in Java. We tried couple of things. 1) Upgrading to "org.springframework.cloud:spring-cloud-dependencies:Brixton.SR5" 2) Changing RoutingFilter to inherit not from ZuulFilter but from SimpleHostRoutingFilter.

We are using JVM args like this: bootRun { systemProperty "spring.profiles.active", "dev,orcl" jvmArgs "-Dhttps.proxySet=true", "-Dhttp.proxySet=true", "-Dhttp.proxyHost=http://proxy.ourcompanyname.com", "-Dhttp.proxyPort=8080", "-Dhttps.proxyHost=http://proxy.ourcompanyname.com", "-Dhttp.proxyPort=8080", "-Dhttp.nonProxyHosts=localhost|*.ourcompanyname.com" }

Is this a still known issue?

spencergibb commented 7 years ago

Spring Cloud issues should go here https://github.com/spring-cloud/spring-cloud-netflix/issues

vasyaivanov commented 7 years ago

Is this a Spring Cloud issue? I think it is Zuul which is ignoring proxy settings. Please correct me if I am wrong.

spencergibb commented 7 years ago

If you're using spring-cloud-dependencies, then it's a spring cloud issue