title: feign.RetryableException: Read timed out executing GET
body: <p>I have below architecture in my project<a href="https://i.stack.imgur.com/lx5gA.png" rel="noreferrer"><img src="https://i.stack.imgur.com/lx5gA.png" alt="enter image description here"></a></p>
  
  <p>My UI Service(Port 8080) making Feign call to Gateway Service(Port 8085).<Br/>
  My Get call from UI service is " <a href="http://localhost:8080/invoice-list?startDate=2018-08-05&amp;endDate=2018-10-05" rel="noreferrer">http://localhost:8080/invoice-list?startDate=2018-08-05&amp;endDate=2018-10-05</a> " <br/>
  Similar call from Gateway Service "<a href="http://localhost:8085/invoice-download-service/invoice-list?startDate=2018-08-05&amp;endDate=2018-10-05" rel="noreferrer">http://localhost:8085/invoice-download-service/invoice-list?startDate=2018-08-05&amp;endDate=2018-10-05</a>"</p>
  
  <p>When i make this GET call from UI service i get below error within minute </p>
  
  <pre><code> is feign.RetryableException: Read timed out executing GET http://localhost:8085/invoice-download-service/invoice-list?startDate=2018-08-05&amp;endDate=2018-10-05] with root cause
  
  java.net.SocketTimeoutException: Read timed out
  </code></pre>
  
  <p>But when i make direct call from Gateway Server to microservice, i dont get error.</p>
  
  <p><strong>Application.properties file of Gateway service</strong></p>
  
  <pre><code>hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=160000000
  
  ribbon.OkToRetryOnAllOperations=true
  ribbon.ReadTimeout=5000000
  ribbon.ConnectTimeout=5000000
  ribbon.MaxAutoRetries=3
  ribbon.MaxAutoRetriesNextServer=3
  
  
  zuul.host.socket-timeout-millis= 5000000
  zuul.host.connect-timeout-millis= 5000000
  </code></pre>
  
  <p>Here i have set readtimeout and connecttimeout property around 8 to 10 min, hence i am not getting error.</p>
  
  <p><strong>Application.properties file of UI service</strong></p>
  
  <pre><code>spring.application.name=external-ui-service
  
  server.port=8080
  </code></pre>
  
  <p>Here in UI service i dont have timeout property. I tried above properties here but not working.
  Obviously this UI service is not using ribbon,zuul etc. This is just an making Feign call to gateway.</p>
  
  <p>So what should i do to increase timeout in UI service?</p>