{"action":"opened","issue":{"url":"https://api.github.com/repos/cloudfoundry/vcap-services-base/issues/21","labels_url":"https://api.github.com/repos/cloudfoundry/vcap-services-base/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/cloudfoundry/vcap-services-base/issues/21/comments","events_url":"https://api.github.com/repos/cloudfoundry/vcap-services-base/issues/21/events","html_url":"https://github.com/cloudfoundry/vcap-services-base/issues/21","id":55734454,"number":21,"title":"\"CCNG Catalog Manager:(v2) Error decoding reply from gateway\" when having a lot of service instances","user":{"login":"rkoster","id":380697,"avatar_url":"https://avatars.githubusercontent.com/u/380697?v=3","gravatar_id":"","url":"https://api.github.com/users/rkoster","html_url":"https://github.com/rkoster","followers_url":"https://api.github.com/users/rkoster/followers","following_url":"https://api.github.com/users/rkoster/following{/other_user}","gists_url":"https://api.github.com/users/rkoster/gists{/gist_id}","starred_url":"https://api.github.com/users/rkoster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rkoster/subscriptions","organizations_url":"https://api.github.com/users/rkoster/orgs","repos_url":"https://api.github.com/users/rkoster/repos","events_url":"https://api.github.com/users/rkoster/events{/privacy}","received_events_url":"https://api.github.com/users/rkoster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-28T09:47:39Z","updated_at":"2015-01-28T09:47:39Z","closed_at":null,"body":"When trying to start a service gateway which is connected to a Cloud Foundry with a lot of service instances we end up in a restart loop.\r\nThis happens because during the [multiple page fetch](https://github.com/cloudfoundry/vcap-services-base/blob/master/lib/base/cloud_controller_services.rb#L59-L70) sometimes an http call fails and as a result the whole gateway gets restarted. "}}