← Back to team overview

graphite-dev team mailing list archive

[Question #275265]: Failed CarbonLink query on Web Server with only CLUSTER_SERVERS setting

 

New question #275265 on Graphite:
https://answers.launchpad.net/graphite/+question/275265

Hello,

The server is returning the data using the rest api against another server running graphite-web + carbon-cache.py but the exception log gets an entry for each query. 

Just to troubleshoot I've used the following settings with no success.


# You *should* use 127.0.0.1 here in most cases
#CARBONLINK_HOSTS = ["127.0.0.1:7002:a", "127.0.0.1:7102:b", "127.0.0.1:7202:c"]

CLUSTER_SERVERS = [ '10.0.0.1:80','10.0.0.2:80' ]

REMOTE_STORE_FETCH_TIMEOUT = 100   # Timeout to fetch series data
REMOTE_STORE_FIND_TIMEOUT = 100  # Timeout for metric find requests
REMOTE_STORE_RETRY_DELAY = 200    # Time before retrying a failed remote webapp
REMOTE_FIND_CACHE_DURATION = 300 # Time to cache remote metric find results




Failed CarbonLink query '.......................................'
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/graphite/render/datalib.py", line 231, in fetchData
    cachedResults = CarbonLink.query(dbFile.real_metric)
  File "/usr/lib/python2.7/site-packages/graphite/render/datalib.py", line 140, in query
    results = self.send_request(request)
  File "/usr/lib/python2.7/site-packages/graphite/render/datalib.py", line 163, in send_request
    conn = self.get_connection(host)
  File "/usr/lib/python2.7/site-packages/graphite/render/datalib.py", line 130, in get_connection
    connection.connect( (server, port) )
  File "/usr/lib64/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
error: [Errno 111] Connection refused

Your help will be greatly appreciated.

Kind regards,
Radu



-- 
You received this question notification because your team graphite-dev
is an answer contact for Graphite.