Perhaps you have a proxy configured? curl listens to a couple of environment variables by default: see http://curl.haxx.se/docs/manpage.html
If so, you can tell ES to use the same by adding the following properties upon startup: -Dhttp.proxyHost=webcache.example.com -Dhttp.proxyPort=8080 On Wednesday, February 5, 2014 2:26:06 PM UTC+1, Paweł Krzaczkowski wrote: > > Same error > > [2014-02-05 14:25:17,254][ERROR][marvel.agent.exporter ] could notconnect > to any configured elasticsearch instances > : [192.168.0.202:9200] > [2014-02-05 14:25:18,204][ERROR][marvel.agent.exporter ] error > connecting to [192.168.0.202:9200] > java.net.SocketTimeoutException: connect timed out > at java.net.PlainSocketImpl.socketConnect(Native Method) > at java.net.AbstractPlainSocketImpl.doConnect( > AbstractPlainSocketImpl.java:339) > at java.net.AbstractPlainSocketImpl.connectToAddress( > AbstractPlainSocketImpl.java:200) > at java.net.AbstractPlainSocketImpl.connect( > AbstractPlainSocketImpl.java:182) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) > at java.net.Socket.connect(Socket.java:579) > at sun.net.NetworkClient.doConnect(NetworkClient.java:175) > at sun.net.www.http.HttpClient.openServer(HttpClient.java:378) > at sun.net.www.http.HttpClient.openServer(HttpClient.java:473) > at sun.net.www.http.HttpClient.<init>(HttpClient.java:203) > at sun.net.www.http.HttpClient.New(HttpClient.java:290) > at sun.net.www.http.HttpClient.New(HttpClient.java:306) > at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient( > HttpURLConnection.java:995) > at sun.net.www.protocol.http.HttpURLConnection.plainConnect( > HttpURLConnection.java:931) > at sun.net.www.protocol.http.HttpURLConnection.connect( > HttpURLConnection.java:849) > at org.elasticsearch.marvel.agent.exporter.ESExporter. > openConnection(ESExporter.java:317) > at org.elasticsearch.marvel.agent.exporter.ESExporter. > openConnection(ESExporter.java:293) > at org.elasticsearch.marvel.agent.exporter.ESExporter.access$200( > ESExporter.java:56) > at org.elasticsearch.marvel.agent.exporter. > ESExporter$ConnectionKeepAliveWorker.run(ESExporter.java:734) > at java.lang.Thread.run(Thread.java:724) > > > -- You received this message because you are subscribed to the Google Groups "elasticsearch" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4a1df5c2-4161-4566-a409-acf01eb35f6f%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
