{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1177","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/1177/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1177/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-netflix/issues/1177/events","html_url":"https://github.com/spring-cloud/spring-cloud-netflix/issues/1177","id":165056601,"number":1177,"title":"Issue with Feign, Ribbon and Eureka","user":{"login":"santhosh0705","id":3480989,"avatar_url":"https://avatars.githubusercontent.com/u/3480989?v=3","gravatar_id":"","url":"https://api.github.com/users/santhosh0705","html_url":"https://github.com/santhosh0705","followers_url":"https://api.github.com/users/santhosh0705/followers","following_url":"https://api.github.com/users/santhosh0705/following{/other_user}","gists_url":"https://api.github.com/users/santhosh0705/gists{/gist_id}","starred_url":"https://api.github.com/users/santhosh0705/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/santhosh0705/subscriptions","organizations_url":"https://api.github.com/users/santhosh0705/orgs","repos_url":"https://api.github.com/users/santhosh0705/repos","events_url":"https://api.github.com/users/santhosh0705/events{/privacy}","received_events_url":"https://api.github.com/users/santhosh0705/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-12T11:30:18Z","updated_at":"2016-07-12T11:30:18Z","closed_at":null,"body":"I have tried to use Feign, Ribbon and Eureka and facing below issue.\r\n\r\n> nested exception is feign.RetryableException: Connection refused: connect executing GET http://ClientService1/greeting] with root cause\r\n\r\nCode Implementation:\r\n\r\n@FeignClient(\"ClientService1\")\r\ninterface StoreClient {\r\n\t\r\n\t//@RequestLine(\"GET /greeting\")\r\n\t@RequestMapping(value = \"/greeting\", method = RequestMethod.GET)\r\n    Greeting getGreeting();\r\n\r\n}\r\n------------------\r\n    @Autowired\r\n    StoreClient sc;\r\nreturn sc.getGreeting();\r\n\r\n\r\nIts working if we disable eureka and list the servers for ribbon."}}
{"actor":{"display_login":"santhosh0705"}}