Hi Pawel,

The only thing I can think of is that potentially some java system 
properties or ENV variables get in the way - things like forcing it use a 
proxy which I mentioned earlier. Can you list the ENV variables and the 
exact command line that is used to start elastic search?

Cheers,
Boaz

On Wednesday, February 5, 2014 3:36:23 PM UTC+1, Paweł Krzaczkowski wrote:
>
> Even better .. if I set cluster name on none 192.168.0.202 to my default 
> cluster name - the node will join the cluster and the connection is working 
> fine. The only thing that is not working is if i change the cluster name to 
> "monitoring" and try to send Marvel data to this cluster node.
>
> Paweł
>
> W dniu środa, 5 lutego 2014 14:51:59 UTC+1 użytkownik Boaz Leskes napisał:
>>
>> 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/e3e89fe8-37f0-4301-b830-ce3c2d541256%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to