{"action":"opened","issue":{"url":"https://api.github.com/repos/searchbox-io/Jest/issues/312","repository_url":"https://api.github.com/repos/searchbox-io/Jest","labels_url":"https://api.github.com/repos/searchbox-io/Jest/issues/312/labels{/name}","comments_url":"https://api.github.com/repos/searchbox-io/Jest/issues/312/comments","events_url":"https://api.github.com/repos/searchbox-io/Jest/issues/312/events","html_url":"https://github.com/searchbox-io/Jest/issues/312","id":139623952,"number":312,"title":"NodeChecker discovery improvements","user":{"login":"badhabit85","id":13997200,"avatar_url":"https://avatars.githubusercontent.com/u/13997200?v=3","gravatar_id":"","url":"https://api.github.com/users/badhabit85","html_url":"https://github.com/badhabit85","followers_url":"https://api.github.com/users/badhabit85/followers","following_url":"https://api.github.com/users/badhabit85/following{/other_user}","gists_url":"https://api.github.com/users/badhabit85/gists{/gist_id}","starred_url":"https://api.github.com/users/badhabit85/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/badhabit85/subscriptions","organizations_url":"https://api.github.com/users/badhabit85/orgs","repos_url":"https://api.github.com/users/badhabit85/repos","events_url":"https://api.github.com/users/badhabit85/events{/privacy}","received_events_url":"https://api.github.com/users/badhabit85/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-09T16:19:33Z","updated_at":"2016-03-09T16:19:33Z","closed_at":null,"body":"NodeChecker:getHttpAddress(String) tries to match `http_address` (e.g.: '172.0.0.2:9200') against NodeChecker.INETSOCKETADDRESS_PATTERN \"(?:inet\\\\[)(?:(?:[^:]+)?\\\\/)?([^:]+):(\\\\d+)\\\\]\" and fails to add it to discovered nodes.\r\n1. It might be caused by ES misconfiguration\r\nor \r\n2. We could make it configurable/overridable via:\r\n- adding extension point to JestClientFactory for NodeChecker setup or NodeChecker factory method\r\nor\r\n- NodeChecker address pattern config\r\nor\r\n3. it's a bug\r\n\r\nWhat do you think?"}}