{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1783","repository_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1783/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1783/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1783/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/1783","id":214766140,"number":1783,"title":"First request through Zuul/Euruka will always timeout. Subsequent requests then behave as expected (no timeouts).","user":{"login":"trcodestore","id":11502612,"avatar_url":"https://avatars1.githubusercontent.com/u/11502612?v=4","gravatar_id":"","url":"https://api.github.com/users/trcodestore","html_url":"https://github.com/trcodestore","followers_url":"https://api.github.com/users/trcodestore/followers","following_url":"https://api.github.com/users/trcodestore/following{/other_user}","gists_url":"https://api.github.com/users/trcodestore/gists{/gist_id}","starred_url":"https://api.github.com/users/trcodestore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trcodestore/subscriptions","organizations_url":"https://api.github.com/users/trcodestore/orgs","repos_url":"https://api.github.com/users/trcodestore/repos","events_url":"https://api.github.com/users/trcodestore/events{/privacy}","received_events_url":"https://api.github.com/users/trcodestore/received_events","type":"User","site_admin":false},"labels":[{"id":222072230,"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/labels/waiting%20for%20feedback","name":"waiting for feedback","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-16T16:39:04Z","updated_at":"2017-12-12T01:50:04Z","closed_at":null,"author_association":"NONE","body":"Hi all,\r\n\r\nHoping to receive some advice about a timeout issue we're repeatedly experiencing. \r\n\r\nWe have a number of microservices that are integrated with Eureka and Zuul. Whenever we start up our services (including the Eureka and Zuul services), the first request that hits Zuul will always timeout. This timeout will occur regardless of how long we wait (i.e. the timeout will occur even if we wait 15 mins after starting up). After this first request, Zuul/Eureka then seem to wake up and all subsequent requests will work as expected. Has anyone else experienced this?\r\n\r\n[This file](https://github.com/spring-cloud/spring-cloud-netflix/files/848380/stacktrace.txt) contains the full Zuul stack trace  we experience on the first request. The pertinent parts of the stack trace are also pasted below:\r\n\r\n```\r\ncom.netflix.zuul.exception.ZuulException: Forwarding error\r\n \tat org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.handleException(RibbonRoutingFilter.java:170)\r\n \tat org.springframework.cloud.netflix.zuul.filters.route.RibbonRoutingFilter.forward(RibbonRoutingFilter.java:145)\r\n ....\r\nCaused by: com.netflix.hystrix.exception.HystrixRuntimeException: my-service-id timed-out and no fallback available.\r\n \tat com.netflix.hystrix.AbstractCommand$22.call(AbstractCommand.java:805)\r\n \tat com.netflix.hystrix.AbstractCommand$22.call(AbstractCommand.java:790)\r\n....\r\nCaused by: java.util.concurrent.TimeoutException: null\r\n \tat com.netflix.hystrix.AbstractCommand.handleTimeoutViaFallback(AbstractCommand.java:980)\r\n \tat com.netflix.hystrix.AbstractCommand.access$500(AbstractCommand.java:59)\r\n \tat com.netflix.hystrix.AbstractCommand$12.call(AbstractCommand.java:595)\r\n \tat com.netflix.hystrix.AbstractCommand$12.call(AbstractCommand.java:587)\r\n \tat rx.internal.operators.OperatorOnErrorResumeNextViaFunction$4.onError(OperatorOnErrorResumeNextViaFunction.java:140)\r\n```\r\n\r\nThank you.\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/comments/350918805","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/1783#issuecomment-350918805","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1783","id":350918805,"user":{"login":"eacdy","id":9031050,"avatar_url":"https://avatars2.githubusercontent.com/u/9031050?v=4","gravatar_id":"","url":"https://api.github.com/users/eacdy","html_url":"https://github.com/eacdy","followers_url":"https://api.github.com/users/eacdy/followers","following_url":"https://api.github.com/users/eacdy/following{/other_user}","gists_url":"https://api.github.com/users/eacdy/gists{/gist_id}","starred_url":"https://api.github.com/users/eacdy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eacdy/subscriptions","organizations_url":"https://api.github.com/users/eacdy/orgs","repos_url":"https://api.github.com/users/eacdy/repos","events_url":"https://api.github.com/users/eacdy/events{/privacy}","received_events_url":"https://api.github.com/users/eacdy/received_events","type":"User","site_admin":false},"created_at":"2017-12-12T01:50:04Z","updated_at":"2017-12-12T01:50:04Z","author_association":"CONTRIBUTOR","body":"@trcodestore @matt-shaw Maybe you should try `ribbon.eager-load`.\r\nOR, you May set Hystrix's timeout longer."}}
{"actor":{"display_login":"eacdy"}}