{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/9236","labels_url":"https://api.github.com/repos/elastic/elasticsearch/issues/9236/labels{/name}","comments_url":"https://api.github.com/repos/elastic/elasticsearch/issues/9236/comments","events_url":"https://api.github.com/repos/elastic/elasticsearch/issues/9236/events","html_url":"https://github.com/elastic/elasticsearch/issues/9236","id":53982983,"number":9236,"title":"Marvel - Error connecting to [:9200]","user":{"login":"bittusarkar","id":860447,"avatar_url":"https://avatars.githubusercontent.com/u/860447?v=3","gravatar_id":"","url":"https://api.github.com/users/bittusarkar","html_url":"https://github.com/bittusarkar","followers_url":"https://api.github.com/users/bittusarkar/followers","following_url":"https://api.github.com/users/bittusarkar/following{/other_user}","gists_url":"https://api.github.com/users/bittusarkar/gists{/gist_id}","starred_url":"https://api.github.com/users/bittusarkar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bittusarkar/subscriptions","organizations_url":"https://api.github.com/users/bittusarkar/orgs","repos_url":"https://api.github.com/users/bittusarkar/repos","events_url":"https://api.github.com/users/bittusarkar/events{/privacy}","received_events_url":"https://api.github.com/users/bittusarkar/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-11T06:02:11Z","updated_at":"2015-11-05T05:05:03Z","closed_at":"2015-01-11T07:59:52Z","body":"When I restarted one of the ES nodes in a cluster, I see the following error stack as soon as the node is restarted.\r\n```\r\n[2015-01-10 05:19:02,978][ERROR][marvel.agent.exporter    ] [QUERY_NODE_01] error connecting to [:9200]\r\njava.net.ConnectException: Connection refused: connect\r\n\tat java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)\r\n\tat java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)\r\n\tat java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)\r\n\tat java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)\r\n\tat java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)\r\n\tat java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)\r\n\tat java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)\r\n\tat java.net.Socket.connect(Socket.java:579)\r\n\tat sun.net.NetworkClient.doConnect(NetworkClient.java:175)\r\n\tat sun.net.www.http.HttpClient.openServer(HttpClient.java:378)\r\n\tat sun.net.www.http.HttpClient.openServer(HttpClient.java:473)\r\n\tat sun.net.www.http.HttpClient.<init>(HttpClient.java:203)\r\n\tat sun.net.www.http.HttpClient.New(HttpClient.java:290)\r\n\tat sun.net.www.http.HttpClient.New(HttpClient.java:306)\r\n\tat sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)\r\n\tat sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)\r\n\tat sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)\r\n\tat org.elasticsearch.marvel.agent.exporter.ESExporter.openConnection(ESExporter.java:325)\r\n\tat org.elasticsearch.marvel.agent.exporter.ESExporter.openConnection(ESExporter.java:295)\r\n\tat org.elasticsearch.marvel.agent.exporter.ESExporter.checkAndUploadIndexTemplate(ESExporter.java:384)\r\n\tat org.elasticsearch.marvel.agent.exporter.ESExporter.openExportingConnection(ESExporter.java:174)\r\n\tat org.elasticsearch.marvel.agent.exporter.ESExporter.exportXContent(ESExporter.java:248)\r\n\tat org.elasticsearch.marvel.agent.exporter.ESExporter.exportNodeStats(ESExporter.java:130)\r\n\tat org.elasticsearch.marvel.agent.AgentService$ExportingWorker.exportNodeStats(AgentService.java:349)\r\n\tat org.elasticsearch.marvel.agent.AgentService$ExportingWorker.run(AgentService.java:236)\r\n\tat java.lang.Thread.run(Thread.java:724)\r\n```\r\n\r\nErrors like ```error connecting to [localhost:9200]``` have been discussed in several issues here and I understand why it occurs but I've never seen ```error connecting to [:9200]```. Can you help in understanding why I might have seen this error and if it can be avoided?"},"comment":{"url":"https://api.github.com/repos/elastic/elasticsearch/issues/comments/153958978","html_url":"https://github.com/elastic/elasticsearch/issues/9236#issuecomment-153958978","issue_url":"https://api.github.com/repos/elastic/elasticsearch/issues/9236","id":153958978,"user":{"login":"dadoonet","id":274222,"avatar_url":"https://avatars.githubusercontent.com/u/274222?v=3","gravatar_id":"","url":"https://api.github.com/users/dadoonet","html_url":"https://github.com/dadoonet","followers_url":"https://api.github.com/users/dadoonet/followers","following_url":"https://api.github.com/users/dadoonet/following{/other_user}","gists_url":"https://api.github.com/users/dadoonet/gists{/gist_id}","starred_url":"https://api.github.com/users/dadoonet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dadoonet/subscriptions","organizations_url":"https://api.github.com/users/dadoonet/orgs","repos_url":"https://api.github.com/users/dadoonet/repos","events_url":"https://api.github.com/users/dadoonet/events{/privacy}","received_events_url":"https://api.github.com/users/dadoonet/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T05:05:03Z","updated_at":"2015-11-05T05:05:03Z","body":"@dineshbugide send your questions to discuss.elastic.co and provide all details there.\r\n\r\nAlso please read the marvel documentation as it changed a lot in 2.0."}}