payload: {"action":"created","issue":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-net/issues/2225","repository_url":"https://api.github.com/repos/Azure/azure-sdk-for-net","labels_url":"https://api.github.com/repos/Azure/azure-sdk-for-net/issues/2225/labels{/name}","comments_url":"https://api.github.com/repos/Azure/azure-sdk-for-net/issues/2225/comments","events_url":"https://api.github.com/repos/Azure/azure-sdk-for-net/issues/2225/events","html_url":"https://github.com/Azure/azure-sdk-for-net/issues/2225","id":167844558,"node_id":"MDU6SXNzdWUxNjc4NDQ1NTg=","number":2225,"title":"Search SDK: Port exhaustion while under heavy load","user":{"login":"poveilleux","id":11742530,"node_id":"MDQ6VXNlcjExNzQyNTMw","avatar_url":"https://avatars2.githubusercontent.com/u/11742530?v=4","gravatar_id":"","url":"https://api.github.com/users/poveilleux","html_url":"https://github.com/poveilleux","followers_url":"https://api.github.com/users/poveilleux/followers","following_url":"https://api.github.com/users/poveilleux/following{/other_user}","gists_url":"https://api.github.com/users/poveilleux/gists{/gist_id}","starred_url":"https://api.github.com/users/poveilleux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poveilleux/subscriptions","organizations_url":"https://api.github.com/users/poveilleux/orgs","repos_url":"https://api.github.com/users/poveilleux/repos","events_url":"https://api.github.com/users/poveilleux/events{/privacy}","received_events_url":"https://api.github.com/users/poveilleux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"brjohnstmsft","id":5523701,"node_id":"MDQ6VXNlcjU1MjM3MDE=","avatar_url":"https://avatars2.githubusercontent.com/u/5523701?v=4","gravatar_id":"","url":"https://api.github.com/users/brjohnstmsft","html_url":"https://github.com/brjohnstmsft","followers_url":"https://api.github.com/users/brjohnstmsft/followers","following_url":"https://api.github.com/users/brjohnstmsft/following{/other_user}","gists_url":"https://api.github.com/users/brjohnstmsft/gists{/gist_id}","starred_url":"https://api.github.com/users/brjohnstmsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brjohnstmsft/subscriptions","organizations_url":"https://api.github.com/users/brjohnstmsft/orgs","repos_url":"https://api.github.com/users/brjohnstmsft/repos","events_url":"https://api.github.com/users/brjohnstmsft/events{/privacy}","received_events_url":"https://api.github.com/users/brjohnstmsft/received_events","type":"User","site_admin":false},"assignees":[{"login":"brjohnstmsft","id":5523701,"node_id":"MDQ6VXNlcjU1MjM3MDE=","avatar_url":"https://avatars2.githubusercontent.com/u/5523701?v=4","gravatar_id":"","url":"https://api.github.com/users/brjohnstmsft","html_url":"https://github.com/brjohnstmsft","followers_url":"https://api.github.com/users/brjohnstmsft/followers","following_url":"https://api.github.com/users/brjohnstmsft/following{/other_user}","gists_url":"https://api.github.com/users/brjohnstmsft/gists{/gist_id}","starred_url":"https://api.github.com/users/brjohnstmsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brjohnstmsft/subscriptions","organizations_url":"https://api.github.com/users/brjohnstmsft/orgs","repos_url":"https://api.github.com/users/brjohnstmsft/repos","events_url":"https://api.github.com/users/brjohnstmsft/events{/privacy}","received_events_url":"https://api.github.com/users/brjohnstmsft/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-07-27T12:45:04Z","updated_at":"2019-02-01T20:08:43Z","closed_at":null,"author_association":"NONE","body":"Hi,\n\nWhen using the SearchIndexClient to update my indexes under load, I am getting SocketException: \n**An error occurred while sending the request. Unable to connect to the remote serverOnly one usage of each socket address (protocol/network address/port) is normally permitted 000.000.000.000:443.**\n\nMy application is taking the messages accumulated in a service bus and is processing them. At one point, I'm starting to get that SocketException. I was wondering if maybe the connection inside the SearchIndexClient is not closed properly. \n\nI tried to use a using block to automatically call the Dispose() method on the Client as it is an IDisposable but it was not better. Please take note that I am using one client by message from the service bus.\n\nI was thinking about making a pool of SearchIndexClient, but I can't because I have multiple indexes to update and there is no way to change the index after a SearchIndexClient instance has been created...\n\nAny advice?\n\nThanks!\n"},"comment":{"url":"https://api.github.com/repos/Azure/azure-sdk-for-net/issues/comments/459851820","html_url":"https://github.com/Azure/azure-sdk-for-net/issues/2225#issuecomment-459851820","issue_url":"https://api.github.com/repos/Azure/azure-sdk-for-net/issues/2225","id":459851820,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1OTg1MTgyMA==","user":{"login":"brjohnstmsft","id":5523701,"node_id":"MDQ6VXNlcjU1MjM3MDE=","avatar_url":"https://avatars2.githubusercontent.com/u/5523701?v=4","gravatar_id":"","url":"https://api.github.com/users/brjohnstmsft","html_url":"https://github.com/brjohnstmsft","followers_url":"https://api.github.com/users/brjohnstmsft/followers","following_url":"https://api.github.com/users/brjohnstmsft/following{/other_user}","gists_url":"https://api.github.com/users/brjohnstmsft/gists{/gist_id}","starred_url":"https://api.github.com/users/brjohnstmsft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brjohnstmsft/subscriptions","organizations_url":"https://api.github.com/users/brjohnstmsft/orgs","repos_url":"https://api.github.com/users/brjohnstmsft/repos","events_url":"https://api.github.com/users/brjohnstmsft/events{/privacy}","received_events_url":"https://api.github.com/users/brjohnstmsft/received_events","type":"User","site_admin":false},"created_at":"2019-02-01T20:08:43Z","updated_at":"2019-02-01T20:08:43Z","author_association":"MEMBER","body":"@ToniaDemchuk I'm speculating here, but perhaps the problem you're seeing is the result of this issue: https://github.com/Azure/azure-sdk-for-net/issues/3712\r\n\r\n@shahabhijeet Is there an ETA for fixing the above issue with `ServiceClient.Dispose`? Also, a long time ago `ServiceClient` used to accept `HttpClient` as a constructor parameter. Why was that changed?"}}
other: {"actor":{"display_login":"brjohnstmsft"}}