graphite-project / carbon

Carbon is one of the components of Graphite, and is responsible for receiving metrics over the network and writing them down to disk using a storage backend.
http://graphite.readthedocs.org/
Apache License 2.0
1.51k stars 490 forks source link

exceptions.AttributeError: 'MetricLineReceiver' object has no attribute 'peerName' #849

Closed seet61 closed 4 years ago

seet61 commented 5 years ago

A lot of errors in console.log

09/04/2019 11:44:36 :: Unhandled Error Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/twisted/application/app.py", line 312, in runReactorWithLogging reactor.run() File "/usr/local/lib/python2.7/dist-packages/twisted/internet/base.py", line 1267, in run self.mainLoop() File "/usr/local/lib/python2.7/dist-packages/twisted/internet/base.py", line 1279, in mainLoop self.doIteration(t) File "/usr/local/lib/python2.7/dist-packages/twisted/internet/epollreactor.py", line 235, in doPoll log.callWithLogger(selectable, _drdw, selectable, fd, event) --- <exception caught here> --- File "/usr/local/lib/python2.7/dist-packages/twisted/python/log.py", line 103, in callWithLogger return callWithContext({"system": lp}, func, *args, **kw) File "/usr/local/lib/python2.7/dist-packages/twisted/python/log.py", line 86, in callWithContext return context.call({ILogContext: newCtx}, func, *args, **kw) File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 122, in callWithContext return self.currentContext().callWithContext(ctx, func, *args, **kw) File "/usr/local/lib/python2.7/dist-packages/twisted/python/context.py", line 85, in callWithContext return func(*args,**kw) File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 627, in _doReadOrWrite self._disconnectSelectable(selectable, why, inRead) File "/usr/local/lib/python2.7/dist-packages/twisted/internet/posixbase.py", line 252, in _disconnectSelectable selectable.readConnectionLost(f) File "/usr/local/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 307, in readConnectionLost self.connectionLost(reason) File "/usr/local/lib/python2.7/dist-packages/twisted/internet/tcp.py", line 327, in connectionLost protocol.connectionLost(reason) File "/opt/graphite/lib/carbon/protocols.py", line 155, in connectionLost "%s connection with %s closed cleanly" % (self.__class__.__name__, self.peerName)) exceptions.AttributeError: 'MetricLineReceiver' object has no attribute 'peerName'

piotr1212 commented 5 years ago

Could be caused by #848

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.